Get an object's ES6 @@toStringTag.
npm install to-string-tag-x href="https://travis-ci.org/Xotic750/to-string-tag-x"
title="Travis status"> src="https://travis-ci.org/Xotic750/to-string-tag-x.svg?branch=master"
alt="Travis status" height="18">
href="https://david-dm.org/Xotic750/to-string-tag-x"
title="Dependency status"> alt="Dependency status" height="18"/>
href="https://david-dm.org/Xotic750/to-string-tag-x?type=dev"
title="devDependency status"> alt="devDependency status" height="18"/>
href="https://badge.fury.io/js/to-string-tag-x"
title="npm version"> alt="npm version" height="18">
href="https://www.jsdelivr.com/package/npm/to-string-tag-x"
title="jsDelivr hits"> alt="jsDelivr hits" height="18">
href="https://bettercodehub.com/results/Xotic750/to-string-tag-x"
title="bettercodehub score"> alt="bettercodehub score" height="18">
href="https://coveralls.io/github/Xotic750/to-string-tag-x?branch=master"
title="Coverage Status"> alt="Coverage Status" height="18">
Get an object's ES6 @@toStringTag.
See: 19.1.3.6 Object.prototype.toString ( )
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
``js
import toStringTag from 'to-string-tag-x';
console.log(toStringTag({})); // returns '[object Object]'
``