Kaya 0.5.3 reference for Builtins::compare

List of functions and data types in Builtins

Int compare(any x, any y)

Arguments

Usage

Compare any two values of the same type. Returns 0 if they are equal, less than zero if x is smaller, or greater than zero if x is bigger.

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