Next: Array Indexing, Previous: Array Constructors, Up: Arrays [Contents][Index]
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.