_.isSymbol(value)
Checks if value
is classified as a Symbol
primitive or object.
Since
4.0.0
Arguments
-
value
(*): The value to check.
Returns
(boolean): Returns true
if value
is a symbol, else false
.
Example
_.isSymbol(Symbol.iterator); // => true _.isSymbol('abc'); // => false
Please login to continue.