@jpapini/type-check

1.1.6 • Public • Published

Type-check utils

This package provides a set of utilities to check the type of values.

How to use

  1. Install the package and its required peer dependencies:
pnpm add @jpapini/type-check
  1. Use the functions in your code:
import { isString } from '@jpapini/type-check';

console.log(isString('hello')); // true
console.log(isString(42)); // false

Author

Package Sidebar

Install

npm i @jpapini/type-check

Weekly Downloads

15

Version

1.1.6

License

MIT

Unpacked Size

16.3 kB

Total Files

9

Last publish

Collaborators

  • jpapini