Next: , Previous: , Up: Arrays   [Contents][Index]


14.4.4 Array Comparison

The equality operator (==) and the inequality operator (!=) can be applied to arrays. Examples:

(poke) [1,2,3] == [1,2,3]
1
(poke) [[1,2],[3,4]] != [[5,6],[7,8]]
1

Note that the array elements are compared recursively.