Next: Array Concatenation, Previous: Array Trimming, Up: Arrays [Contents][Index]
The in
operator can be used to determine whether a given
element is stored in an array. Examples:
(poke) 2 in [1,2,3] 1 (poke) 10#B in [2#b,10*8#b,3#b] 1 (poke) 30#B in [2#b,10*8#b,3#b] 0