Array.elem3kaya
Check whether a value is in a list.
Usage
Bool elem( a val, [a] list, Bool(a, a) eq=equal )
Arguments
val The value to search for ("needle")
list The list to search ("haystack")
eq Optionally, the function used to check for presence (the default is Builtins.equal (3kaya) , obviously, but Builtins.identical (3kaya) might be used)
Overview
Check whether the "needle" occurs at least once in the "haystack". This function can be thought of as a specialised version of Array.any (3kaya)
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.