Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 453 Bytes

File metadata and controls

23 lines (14 loc) · 453 Bytes

Home > types-kit > IsAny

IsAny type

If T is any, return true, else return false.

Signature:

export type IsAny<T> = IsExtends<number, 0 & T>

References: IsExtends

Example

// Expect: true
type Foo = IsAny<any>