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