20: implement IsNever<T>

  - accepted / - tried

Please implement a utility type IsNever<T> which returns true if T is never and false otherwise.

type A = IsNever<never> // true
type B = IsNever<string> // false
type C = IsNever<undefined> // false

Let's try to solve this problem within 5 minutes.

(1)
(18)