Skip to content

will-v-king/javascript-typeOf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

javascript-typeOf

typeOf is a function to get the type of a javascript object.

result as : /*

  • typeOf({},['object','string']) == true;
  • typeOf({},'object) == true;
  • typeOf({}) == 'Object'
  • typeOf(null, 'Object') == false;
  • typeOf(function(){},'function') == true;
  • typeOf(undefined, 'undefined') == true;
  • typeOf(null,'null') == true;
  • typeOf() == 'undefined';
  • typeOf(NaN) == 'NaN'; */

About

typeOf is a function to get the type of a javascript object.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published