Checks if type T is the any type.
T
any
The type to check if it is the any type.
import { assertType, IsAny } from "@std/testing/types";assertType<IsAny<any>>(true);assertType<IsAny<unknown>>(false); Copy
import { assertType, IsAny } from "@std/testing/types";assertType<IsAny<any>>(true);assertType<IsAny<unknown>>(false);
Checks if type
Tis theanytype.