Skip to content

Yet another NPM package to improve upon JavaScript's typeof operator.

License

Notifications You must be signed in to change notification settings

hypersoftllc/qc-type_of

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qc-type_of

Build Status Coverage Status License Downloads

npm badge

Yet another NPM package to improve upon JavaScript's typeof operator.

Installation

npm install --save qc-type_of

Comparison with JavaScript's typeof Operator

Differences

Value typeof typeOf
arguments 'object' 'arguments'
new Boolean(...) 'object' 'boolean'
Infinity 'number' 'infinity'
NaN 'number' 'nan'
null 'object' 'null'
new Number(...) 'object' 'number'
new String(...) 'object' 'string'

About

Yet another NPM package to improve upon JavaScript's typeof operator.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published