TypeOf(
     var:variable
)
string

Arguments

variable

Any variable.

Return value

Type of the supplied variable.

Description

Returns a string indicating the type of the passed-in variable.

Types are: bool, int, uint, int64, uint64, double, date, str, path and map.

See the page on evaluator variables for information about the different types.

Example:

a = -5;
Output( TypeOf(a) );
--> int

See also: As