Support

Equilla Formula Language

Array_GetType

Returns the type of the elements of an array as an integer value. Returns 1 if the type is unknown, 2 for boolean, 3 for string, 4 for integer and 7 for float-based values.

Inputs

Array
Array: The array.

Examples

Get the type of an array
Variable: result; Array: myArray[]; FillArray(myArray, 8, 0.23, -1); result = Array_GetType(myArray); print(result); // prints 7