Checks if passed value is a String type.
String
The input to be checked.
true
false
const result1 = isStr("hello"); // trueconst result2 = isStr(123); // falseconst result3 = isStr(true); // false Copy
const result1 = isStr("hello"); // trueconst result2 = isStr(123); // falseconst result3 = isStr(true); // false
Generated using TypeDoc
Checks if passed value is a
String
type.