isString
isString(
value
):value is string
Checks whether a value is a string primitive or a String object.
Parameters
Section titled “Parameters”unknown
The value to test.
Returns
Section titled “Returns”value is string
true
if value
is a string or an instance of String, otherwise false
.