moltres-utils
Version:
Utils for Moltres apps
36 lines (29 loc) • 926 B
JavaScript
require("core-js/modules/es6.object.define-property");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
require("core-js/modules/es6.regexp.to-string");
require("core-js/modules/es6.date.to-string");
var toString = Object.prototype.toString;
/**
* Returns a string representing the object.
*
* See [Object.prototype.toString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/toString) for more information
*
* @function
* @since v0.0.18
* @category lang
* @param {object} object The object to convert to a string
* @returns {string} A string representing the object.
*
* objectToString({})
* //=> '[object Object]'
*/
var objectToString = function objectToString(object) {
return toString.call(object);
};
var _default = objectToString;
exports.default = _default;
//# sourceMappingURL=objectToString.js.map
;