Skip to content

Latest commit

 

History

History

is-any

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

IsAny<Type> returns true when type Type is any. Otherwise returns false

type IsNeverAny = IsAny<never>;
//   ^? false
type IsAnyAny = IsAny<any>;
//   ^? true
type IsUnknownAny = IsAny<unknown>;
//   ^? false

TS Playground – https://tsplay.dev/WG4KKw