variable-type-check

1.0.1 • Public • Published

About

Check the variable type, it's return boolean value (true/false)

Installation

Use the package variable-type-check

npm install variable-type-check

Usage

const typecheck = require('variable-type-check');
/* Pass inside the two params 1st your value and in second it's real type,
it will return a boolean value.
*/ 
typecheck("x", 'String'); // true
typecheck(10, 'String'); // false

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Readme

Keywords

none

Package Sidebar

Install

npm i variable-type-check

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

1.06 kB

Total Files

3

Last publish

Collaborators

  • jitendra_12