Skip to content

Javascript Api to check objects type , and control data

Notifications You must be signed in to change notification settings

Ali-Amechghal/si.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

si.js

A node js and browser library to check types

Installation

$ npm install si.js 
$ var its =  require('si.js');

Usage

An example of use as NodeJs Module

   var its = require('si.js');
   //check if a given argument is an array
   if(its.array(new Array())){

   }
   //check if a given value is not boolean type
   if(its.not.boolean('')){

   }

License

MIT (c) 2016 - Ali Amechghal

About

Javascript Api to check objects type , and control data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published