IsNever medium #union #utils

by hiroya iizuka @hiroyaiizuka

Take the Challenge    한국어

Implement a type IsNever, which takes input type `T`. If the type of resolves to `never`, return `true`, otherwise `false`. For example: ```ts type A = IsNever // expected to be true type B = IsNever // expected to be false type C = IsNever // expected to be false type D = IsNever<[]> // expected to be false type E = IsNever // expected to be false ```
Back Share your Solutions Check out Solutions

Related Challenges

1097・IsUnion 223・IsAny 4484・IsTuple