Overview
Comparison module
Last updated
Comparison module
Last updated
comparison.compare-multiple()
Handles multiple comparisons.
comparison.compare()
Returns a bool
indicating the result of the comparison.
comparison.equal()
Function is a helper function for the compare function and it's a simple comparison of the $value1
with $value2
.
comparison.greater-than()
Checks whether the given value is greater than compared value.
module: greater.than()
comparison.greater-than-any()
Checks whether the given $greater
is greater than any of the given $values
.
module: greater.than-any()
comparison.greater-than-every()
Checks whether the given $greater
is greater than every of the given $values
.
module: greater.than-every()
comparison.less-than-any()
Checks whether the given $less
is less than any of the given $values
.
comparison.less-than-every()
Checks whether the given $less
is less than every of the given $values
.
comparison.less-than()
Checks whether the given $value
is less than compared $value
and/or $values
.