3.0.0 • Published 3 years ago

@kiryu/types.js v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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();
3.0.0

3 years ago

2.0.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago