@jpapini/type-check
v1.1.7
Published
This package provides a set of utilities to check the type of values.
Downloads
79
Readme
Type-check utils
This package provides a set of utilities to check the type of values.
How to use
- Install the package and its required peer dependencies:
pnpm add @jpapini/type-check
- Use the functions in your code:
import { isString } from '@jpapini/type-check';
console.log(isString('hello')); // true
console.log(isString(42)); // false
Author
- Julien Papini [email protected]