type alias Hasimport { type Has } from "https://deno.land/std@0.220.1/testing/types.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