1.1.0 • Published 6 years ago

@tight/is-type v1.1.0

Weekly downloads
43
License
MIT
Repository
github
Last release
6 years ago

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