isarray

This function determines whether the value passed to this function is a list or tuple type or not. The functions islist and istuple can be used to check if the array is mutable.

This function does not generate an event.

Function

isarray(value)

Arguments

Argument Type Description
value any (required) The value to be tested for being an array.

Return value

Returns true the value passed is array else it returns false.

Example

This code shows some return values for isarray():

[
    isarray( [] ),
    isarray( tmp = [['nested']] ),
    isarray( tmp[0] ),
];

Return value in JSON format

[
    true,
    true,
    true
]