30. implement IsAny<T>
Share
- accepted / - tried
Implement IsAny<T>
to check against any
.
type A = IsAny<string> // falsetype B = IsAny<any> // truetype C = IsAny<unknown> // falsetype D = IsAny<never> // false
- accepted / - tried
Implement IsAny<T>
to check against any
.
type A = IsAny<string> // falsetype B = IsAny<any> // truetype C = IsAny<unknown> // falsetype D = IsAny<never> // false