Any
Virtual class used in type definitions to detect an `any` type.
Usage
type IsAny<T> = [T] extends [Any] ? "is any" : "is not any";
Installation
npx atmx add type any
Copy and paste the following method into @/utils/helpers/undefined.ts
:
declare const any: unique symbol;
/*** Virtual class used in type definitions to detect an `any` type.** @example* type IsAny<T> = [T] extends [Any] ? 'is any' : 'is not any'*/export declare class Any {private any: typeof any;}