Methods
isString(value) → {Boolean}
Returns if a value is a string.
Parameters:
Name | Type | Description |
---|---|---|
value |
* | the value to check |
Returns:
true if value is a string
- Type
- Boolean
Example
if( isString(val) ){
return prefix+val;
}