Skip to content

xuhen/typo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Type Check Of Javascript

How To Use

<script src="path/to/typo.js"></script>

THEN

typo.isArray([]);         // true
typo.isObject({});			// true
typo.isString('');			// true
typo.isDate(new Date());	// true
typo.isRegExp(/test/i);		// true
typo.isFunction(function () {}); // true
typo.isBoolean(true); // true
typo.isNumber(1);	// true
typo.isNull(null);	// true
typo.isUndefined();	// true

About

mini javascript type check Lib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published