chain-able
Version:
interfaces that describe their intentions.
13 lines (12 loc) • 371 B
JavaScript
/**
* The base implementation of `getTag` without fallbacks for buggy environments.
*
* @memberOf is
*
* @param {*} value The value to query.
* @return {string} Returns the `toStringTag`.
*
* @see https://github.com/lodash/lodash/blob/master/.internal/baseGetTag.js
* @TODO obj[Symbol.toStringTag]
*/
module.exports = obj => Object.prototype.toString.call(obj)