typeof "string" alias.
typeof
isString("Vangware"); // trueisString(`Vangware`); // trueisString(Symbol("Vangware")); // false
Returns true if value is a string, false otherwise.
true
string
false
Value to check.
typeof
"string" alias.Example
Returns
Returns
true
if value is astring
,false
otherwise.