a micro type check lib, provides some common types of detection methods
npm i @cat5th/is
import { type, isPlainObject } from '@cat5th/is'
import {type, isPlainObject, isEqual } from '@cat5th/is'
type(1) // => 'number'
isPlainObject({}) // => true
isEqual({a: 1}, {a: 1}) // => true
- is
- isArrayLike
- isEqual
- isPlainObject
- isPrimitive
- ...
- you can post issus if you have any good idea of feature
You can check it out from the documentation