@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

Dependencies (0)

    Dev Dependencies (9)

    Package Sidebar

    Install

    npm i @tight/is-type

    Weekly Downloads

    6

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    4.27 kB

    Total Files

    6

    Last publish

    Collaborators

    • anderssvendal