isStr(val): val is string
val
val is string
Checks if the given value is a string.
unknown
The value to be checked.
Returns true if the value is a string, false otherwise.