isarray - test if a value is an array
val.isarray()
The isarray() method tests whether val
is an array or a list.
true if val is an array or list,
false otherwise.
None.
a = [1, 2, 3]
a.isarray() // returns true
b = 42
b.isarray() // returns false