@tight/is-type

1.1.0 • Public • Published

JavaScript type checkers

npm version Build status

Installation

yarn add @tight/is-type

Usage

import { 
  isArray,
  isBoolean,
  isFunction,
  isNull,
  isNumber,
  isObject,
  isString,
  isUndefined
} from '@tight/is-type';

isArray([]); // true
isBoolean(true); // true
isFunction(() => {}); // true
isNull(null); // true
isNumber(1); // true
isObject({}); // true
isString('string'); // true
isUndefined(); // true

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    4
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @tight/is-type

Weekly Downloads

4

Version

1.1.0

License

MIT

Unpacked Size

4.27 kB

Total Files

6

Last publish

Collaborators

  • anderssvendal