8.3.12 VarIsString

VarIsString returns a Boolean True if the Subject variant can be converted to a string, otherwise it returns a Boolean False.

VarIsString( Subject )

Example

This if statement tests if the value is a string:

If Cond(VarIsString( #TheValue ) *EQ True)
Use Builtin(MESSAGE_BOX_SHOW) With_Args(OK OK Information 'Variant Type' 'The value is a string.')
Else
Use Builtin(MESSAGE_BOX_SHOW) With_Args(OK OK Information 'Variant Type' 'The value is a decimal.')
Endif