Reference

Casting

To number

Input An argument of any type.
Output The argument converted to a number.

Signature

Example

To integer

Input An argument of any type.
Output The argument converted to an integer.

Signature

Example

To decimal

Input An argument of any type.
Output The argument converted to a decimal number.

Signature

Example

To string

Input An argument of any type.
Output The argument converted to a string.

Signature

Example

To boolean

Input A string, number, or boolean. Strings convert to true if non-empty after trimming. Numbers convert to true if non-zero. Booleans pass through unchanged. Other types throw an error.
Output The argument converted to a boolean.

Signature

Example

To list

Input A set, vector, stack, or queue. Other types throw an error.
Output The argument converted to a list.

Signature

Example

Is number

Input An argument of any type.
Output True if the argument is a number. False otherwise.

Signature

Example

Is integer

Input An argument of any type.
Output True if the argument is an integer. False otherwise.

Signature

Example

Is decimal

Input An argument of any type.
Output True if the argument is a decimal number. False otherwise.

Signature

Example

Is infinite

Input An argument of any type.
Output True if the argument is infinite. False otherwise.

Signature

Example

Is string

Input An argument of any type.
Output True if the argument is a string. False otherwise.

Signature

Example

Is boolean

Input An argument of any type.
Output True if the argument is a boolean. False otherwise.

Signature

Example

Is timestamp

Input An argument of any type.
Output True if the argument is a timestamp. False otherwise.

Signature

Example

Is function

Input An argument of any type.
Output True if the argument is a function. False otherwise.

Signature

Example

Is list

Input An argument of any type.
Output True if the argument is a list. False otherwise.

Signature

Example

Is map

Input An argument of any type.
Output True if the argument is a map. False otherwise.

Signature

Example

Is vector

Input An argument of any type.
Output True if the argument is a vector. False otherwise.

Signature

Example

Is set

Input An argument of any type.
Output True if the argument is a set. False otherwise.

Signature

Example

Is stack

Input An argument of any type.
Output True if the argument is a stack. False otherwise.

Signature

Example

Is queue

Input An argument of any type.
Output True if the argument is a queue. False otherwise.

Signature

Example

Is file

Input An argument of any type.
Output True if the argument is a file. False otherwise.

Signature

Example

Is directory

Input An argument of any type.
Output True if the argument is a directory. False otherwise.

Signature

Example

Is duration

Input An argument of any type.
Output True if the argument is a duration. False otherwise.

Signature

Example