1Set.elem(3kaya) Kaya module reference Set.elem(3kaya)
2
3
4
6 Set::elem - Check for an element in a HashSet.
7
9 Bool elem( a val, HashSet<a> set )
10
12 val The value to check for
13
14 set The set to check
15
17 Returns true if the value exists in the HashSet, and false otherwise.
18
20 Kaya standard library by Edwin Brady, Chris Morris and others
21 (kaya@kayalang.org). For further information see http://kayalang.org/
22
24 The Kaya standard library is free software; you can redistribute it
25 and/or modify it under the terms of the GNU Lesser General Public
26 License (version 2.1 or any later version) as published by the Free
27 Software Foundation.
28
30 Set.HashSet (3kaya)
31 Set.add (3kaya)
32 Set.array (3kaya)
33 Set.delete (3kaya)
34 Set.empty (3kaya)
35 Set.newHashSet (3kaya)
36
37
38
39Kaya December 2010 Set.elem(3kaya)