to-string-tag-x
Get an object's ES6 @@toStringTag.
See: 19.1.3.6 Object.prototype.toString ( )
Version: 1.4.3
Author: Xotic750 Xotic750@gmail.com
License: MIT
Copyright: Xotic750
module.exports(value)
⇒ string
⏏
The toStringTag
method returns "[object type]", where type is the
object type.
Kind: Exported function
Returns: string
- The object type string.
Param | Type | Description |
---|
value | * | The object of which to get the object type string. |
Example
var toStringTag = require('to-string-tag-x');
var o = new Object();
toStringTag(o);