1Builtins.compare(3kaya) Kaya module reference Builtins.compare(3kaya)
2
3
4
6 Builtins::compare - Compare two values for "size"
7
9 Int compare( any x, any y )
10
12 x The first value to compare
13
14 y The second value to compare
15
17 Compare any two values of the same type. Returns 0 if they are equal,
18 less than zero if x is smaller, or greater than zero if x is bigger.
19
21 Kaya standard library by Edwin Brady, Chris Morris and others
22 (kaya@kayalang.org). For further information see http://kayalang.org/
23
25 The Kaya standard library is free software; you can redistribute it
26 and/or modify it under the terms of the GNU Lesser General Public
27 License (version 2.1 or any later version) as published by the Free
28 Software Foundation.
29
30
31
32Kaya December 2010 Builtins.compare(3kaya)