If T is exactlyany, return true, otherwise, return false.
T
any
true
false
IsExactlyAny<any | Nullable>; // true, once unsafe, always unsafe IsExactlyAny<Numeric | Nullable>; // false IsExactlyAny<unknown>; // false IsExactlyAny<any>, true Copy
IsExactlyAny<any | Nullable>; // true, once unsafe, always unsafe IsExactlyAny<Numeric | Nullable>; // false IsExactlyAny<unknown>; // false IsExactlyAny<any>, true
If
T
is exactlyany
, returntrue
, otherwise, returnfalse
.