qc-type_of
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

qc-type_of

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

Build Status

Usage

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'

Dependents (0)

Package Sidebar

Install

npm i qc-type_of

Weekly Downloads

3

Version

1.0.0

License

ISC

Last publish

Collaborators

  • hypersoftllc