Returns the true type of any value with correct detection for null, Array, Object, Promise, Symbol, and NaN. The correct values are inferred from Symbol.toStringTag and the value's prototype.
null
Array
Object
Promise
Symbol
NaN
The value type.
Generated using TypeDoc
Returns the true type of any value with correct detection for
null
,Array
,Object
,Promise
,Symbol
, andNaN
. The correct values are inferred from Symbol.toStringTag and the value's prototype.Returns
The value type.