* 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 *
(value)
| 12254 | * // => false |
| 12255 | */ |
| 12256 | function isSymbol(value) { |
| 12257 | return typeof value == 'symbol' || |
| 12258 | (isObjectLike(value) && baseGetTag(value) == symbolTag); |
| 12259 | } |
| 12260 | |
| 12261 | /** |
| 12262 | * Checks if `value` is classified as a typed array. |
no test coverage detected