0.1.9 • Published 5 years ago

@cat5th/is v0.1.9

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

is

a micro type check lib, provides some common types of detection methods

documentation

npm version coverage npm downloads Build Status

How to Use

Installation

npm i @cat5th/is

Import the function you need

import { type, isPlainObject } from '@cat5th/is'

Enjoy it

import {type, isPlainObject, isEqual } from '@cat5th/is' 
type(1) // => 'number'
isPlainObject({}) // => true
isEqual({a: 1}, {a: 1}) // => true

@cat5th/is provides various functions such as

  • 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

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

6 years ago

0.1.6

6 years ago