Returns true if value is a string.
true
value
The value to check.
isString("hello") // => trueisString(42) // => false Copy
isString("hello") // => trueisString(42) // => false
Returns
trueifvalueis a string.