Checks if value is classified as a Symbol primitive or object.
value
Symbol
The value to check.
Returns true if value is correctly classified, else false.
true
false
_.isSymbol(Symbol.iterator);// => true_.isSymbol('abc');// => false Copy
_.isSymbol(Symbol.iterator);// => true_.isSymbol('abc');// => false
Checks if
value
is classified as aSymbol
primitive or object.