type alias Hasimport { type Has } from "https://deno.land/x/conditional_type_checks@1.0.6/mod.ts"; Checks if type T has the specified type U. Type ParametersTUdefinition: IsAny<T> extends true ? true : IsAny<U> extends true ? false : Extract<T, U> extends never ? false : true