1.0.4 • Published 2 years ago

@mozeyinedu/check v1.0.4

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

@mozeyinedu/check

Just to save time for other stuff...;

Description

"check is a package that contains functions that check some conditions just to preserve time for other stuff.

  • You don't just have the ample time...

installation

npm install @mozeyinedu/check

Usage

...

import check from "@mozeyinedu/check";

...

...

const check = require("@mozeyinedu/check");

...

...

console.log(check.isString( "" ))
// true

console.log(check.isNumber( 20 ))
// true

console.log(check.isArray( [] ))
// true

console.log(check.isObject( {} ))
// true

console.log(check.isFunction( ()=>{} ))
// true

console.log(check.isObject( [] ))
// false

console.log(check.isObject( ()=>{} ))
// false

console.log(check.isObject( null ))
// false

console.log(check.isObject( undefined ))
// false

...

Reach me;