This function determines whether the provided value is of type list or tuple or not. The functions islist and istuple can be used to check if the array is mutable.
This function does not generate an event.
isarray(value)
Argument | Type | Description |
---|---|---|
value | any (required) | The value to be tested. |
Returns true
if the value passed is an array, else it returns false
.
This code shows some return values for isarray():
[
isarray( [] ),
isarray( tmp = [['nested']] ),
isarray( tmp[0] ),
];
Return value in JSON format
[
true,
true,
true
]