Type alias IsExactlyAny<T>

IsExactlyAny<T>: Equals<T, any>

If T is exactlyany, return true, otherwise, return false.

Type Parameters

  • T

Example

 IsExactlyAny<any | Nullable>; // true, once unsafe, always unsafe
IsExactlyAny<Numeric | Nullable>; // false
IsExactlyAny<unknown>; // false
IsExactlyAny<any>, true