30. implement IsAny<T>

TypeScript
Is this helpful ?

  - accepted / - tried

Implement IsAny<T> to check against any.

type A = IsAny<string> // false
type B = IsAny<any> // true
type C = IsAny<unknown> // false
type D = IsAny<never> // false

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

Discuss(9)