Methods
isSymbol(value) → {Boolean}
Returns if a value is a symbol.
Parameters:
Name | Type | Description |
---|---|---|
value |
* | the value to check |
- Source:
- See:
Returns:
true if value is a symbol
- Type
- Boolean
Example
if( isSymbol(val) ){
return val.description;
}