ISSTRING

The function ISSTRING outputs TRUE if the given input is a string.

This function takes any variable type as input. It then checks to see if the input is a string and outputs TRUE if it is, FALSE if it isn't.

Declaration

ISSTRING(value) -> result

 

Parameters

value (required, type: any)
A value that may or may not be a string.

Return Values

result (type: boolean)
The result of checking if the given string is a string; TRUE means that it is and FALSE means that it isn't.

Examples

The following example confirms that the string "Hello, world!" is a string:

ISSTRING("Hello, world!") => TRUE

The following example takes the Number 3 and returns FALSE because 3 is a Number, not a string:

ISSTRING(3) => FALSE