objcheck
v1.0.7
Published
Performs detailed Object evaluation to determine Object type.
Downloads
7
Maintainers
Readme
objcheck
Performs detailed Object evaluation to determine Object type.
Functions
What(item) ⇒ string
Kind: global function
Preforms a detailed evaluation to determine an Object type.
Objects Evaluated
- Number: ['[object Number]']
- String: ['[object String]']
- Array: ['[object Array]']
- JSON: ['[object JSON]']
- Boolean: '[object Boolean]'
- Date: '[object Date]'
- NamedFunction: ['[function Raw]']
- AnonFunction: ['[function Raw]']
- ArrowFunction: ['[function Arrow]']
- RawClass: ['[class Raw]']
- NewFunction: ['[function Instantiated]']
- NewClass: ['[class Instantiated]']
- Function: ['[function Arrow]', '[function Raw]', '[class Raw]', '[class Instantiated]']
- Error: '[object Error]'
- Symbol: '[object Symbol]'
- Promise: '[object Promise]'
- Undefined: '[object Undefined]'
- Null: '[object Null]'
- Empty: ['[object Undefined]', '[object Null]']
- Map: '[object Map]'
- Generator: '[object Generator]'
- Set: '[object Set]'
Path(item) ⇒ boolean
Kind: global function
Is object a Path