isSymbol(val): val is symbol
val
val is symbol
Checks if the given value is an symbol.
unknown
The value to be checked.
Returns true if the value is an object, otherwise false.