feat(typescript-types): Add IsAny<T>

This commit is contained in:
T. R. Bernstein
2025-07-12 01:58:42 +02:00
parent 3c17970cd0
commit 5454e903b8
8 changed files with 219 additions and 51 deletions

View File

@@ -0,0 +1,15 @@
# Typescript Types
A utility types library for Typescript.
### Types
The types included in this library are categorized by their purpose.
#### Test Types
| Type | Description |
| -------------- | ---------------------------------------------------------------------------------- |
| [`IsAny<T>`][] | `true` if `T` is `any`, `false` otherwise (`null`, `undefined` also yield `false`) |
[`IsAny<T>`]: src/is-any.ts