Determines whether the provided value is a string.
This function checks if the provided value is of type "string" or an instance of the String object. It is used to validate if the value can be used as a string.
String
The value to be checked.
true if the value is a string, otherwise false.
true
false
// Returns: trueix.api.is.isString("Hello, World!");// Returns: falseix.api.is.isString(123); Copy
// Returns: trueix.api.is.isString("Hello, World!");// Returns: falseix.api.is.isString(123);
Determines whether the provided value is a string.
This function checks if the provided value is of type "string" or an instance of the
String
object. It is used to validate if the value can be used as a string.