Miscellaneous Functions
The eServices Field Codes include the following miscellaneous functions:
If
[+] If
Description
Returns either the second or the third argument, depending on the value of the first (Boolean) argument.
Syntax
If (Boolean, TrueResult, FalseResult)
IsBoolean
[+] IsBoolean
Description
Returns True if the data type of the argument is Boolean; otherwise, it returns False.
Syntax
IsBoolean (Arg)
IsDateTime
[+] IsDateTime
Description
Returns True if the data type of the argument is Date/Time, and False otherwise.
Syntax
IsDateTime (Arg
)
IsNumber
[+] IsNumber
Description
Returns True if the data type of the argument is number, and False otherwise.
Syntax
IsNumber (Arg
)
IsString
[+] IsString
Description
Returns True if the data type of the argument is string, and False otherwise.
Syntax
IsString (Arg
)
Type
[+] Type
Description
Returns the type name (String, Boolean, and so on) of its argument.
Syntax
Type (Arg)