MCPcopy Create free account
hub / github.com/RubyLouvre/anu / isSymbol

Function isSymbol

test/babel.js:5553–5555  ·  view source on GitHub ↗

* Checks if `value` is classified as a `Symbol` primitive or object. * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. * @example * * _.isSymbol(Symbol.iterato

(value)

Source from the content-addressed store, hash-verified

5551 * // => false
5552 */
5553 function isSymbol(value) {
5554 return (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'symbol' || isObjectLike(value) && baseGetTag(value) == symbolTag;
5555 }
5556
5557 module.exports = isSymbol;
5558

Callers 6

toKeyFunction · 0.70
babel.jsFile · 0.70
isKeyFunction · 0.70
baseToStringFunction · 0.70
compareAscendingFunction · 0.70
toNumberFunction · 0.70

Calls 2

isObjectLikeFunction · 0.70
baseGetTagFunction · 0.70

Tested by

no test coverage detected