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