ceylon.language.or.ceylon Maven / Gradle / Ivy
"Returns a function which is the logical disjunction of the
given predicate functions."
tagged("Functions")
shared Boolean or(
"The first predicate function"
Boolean(Value) p,
"The second predicate function"
Boolean(Value) q)(Value val)
=> p(val) || q(val);
© 2015 - 2024 Weber Informatics LLC | Privacy Policy