Kaya 0.5.2 reference for Array::elem

List of functions and data types in Array

Bool elem(a val, [a] list, Bool(a, a) eq=equal)

Arguments

Usage

Check whether the "needle" occurs at least once in the "haystack". This function can be thought of as a specialised version of any

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya