ceylon.language.largest.ceylon Maven / Gradle / Ivy
"Given two [[Comparable]] values, return largest of the two."
see (`interface Comparable`,
`function smallest`,
`function max`)
tagged("Comparisons")
shared Element largest(Element x, Element y)
given Element satisfies Comparable
=> x>y then x else y;
© 2015 - 2024 Weber Informatics LLC | Privacy Policy