Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 255 Bytes

IsAny.md

File metadata and controls

12 lines (8 loc) · 255 Bytes

IsAny<T> Type

Determines if the specified type is any and returns the checking result as boolean.

Implementation

export type IsAny<T> = 0 extends (1 & T) ? true : false
  • Type Parameters:
    • T (any): The type to check.