PreviousNext
Help > REFERENCE OF THE BUILT-IN FUNCTIONS > Others > type
type

Format:

integer= type (any);

Return a number indicating the data type of the argument. This function is particularly useful in conjunction with variables of type “any” to determine the type of data stored in the variable.

 

The function can be used on everything in Rittle - constants, variables, data arrays.

 

Data type codes returned by the function are:

 

0          invalid

16       any                            

18       byte (sint8)

20       small (sint16)

22       int (sint32)

24       big (sint64)

28       real

30       text

31       func