0.0.6 • Published 3 years ago

@wahfung/is-what v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.3

3 years ago