Home > types > IsAny
判断 T 是否是 any 类型。
T
any
Signature:
export declare type IsAny<T> = 0 extends 1 & T ? true : false;
type X = IsAny<any> // => true