JSPM

is-helper

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q27195F
  • License MIT

is-helper help me to identify the type of unknown.

Package Exports

  • is-helper

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-helper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

is-helpernpm versionBuild Status

is-helper help me to identify the type of unknown.

Install

$ npm install is-helper

Usage

const is = require("is-helper");

is.isString("hello world"); // => true

is.isNumber(123); // => true

is.isBoolean(false); // => true

is.isObject({}); // => true

is.isObject(null); // => true

is.isUndefined(undefined); // => true

is.isArray([1, 2, 3, 4, 5]); // => true

API

isType(unknown)

unknown

Type: any

return

Type: boolean