qc-type_of
v1.0.0
Published
A more useful alternative to `typeof <value>`
Maintainers
Readme
qc-type_of
Yet another NPM package to improve upon JavaScript's typeof operator.
Usage
npm install --save qc-type_ofComparison 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' |
