0.0.6 • Published 2 years ago

@wahfung/is-what v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@wahfung/is-what

Tiny javescript type check functions!

Install

npm install @wahfung/is-what

Usage

Type check functions:

import {isString, isUndefined, isArray} from '@wahfung/is-what'

isString('') // true
isNumber(10) // true
isBoolean(false) // true
isUndefined(undefined) // true
isNull(null) // true
isArray([]) // true
isObject({}) // true

Number check functions:

import {isNegativeNumber, isNegativeZero} from '@wahfung/is-what'

isPositiveNumber(1) // true
isNegativeNumber(-1) // true
isPostiveZero(0) // true
isNegativeZero(-0) // true
0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.3

2 years ago