@kiryu/types.js

3.0.0 • Public • Published

Installation

npm install @kiryu/types.js

Usage

  1. Start by requiring types.js, then by using it's supported methods for checking the type.
const typesjs = require('@kiryu/types.js');

typesjs.boolean(1); // will return true.
  1. List of available types:
typesjs.undefined();
typesjs.null();
typesjs.NaN();
typesjs.boolean();
typesjs.number();
typesjs.string();
typesjs.bigInt();
typesjs.symbol();
typesjs.Object();
typesjs.Array();
typesjs.Map();
typesjs.Set();
typesjs.WeakMap();
typesjs.WeakSet();
typesjs.Date();

Package Sidebar

Install

npm i @kiryu/types.js

Weekly Downloads

0

Version

3.0.0

License

MIT

Unpacked Size

2.65 kB

Total Files

5

Last publish

Collaborators

  • kiryu