1.1.6 • Published 11 months ago
@jpapini/type-check v1.1.6
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 julien.papini@gmail.com