Comparison module
comparison.greater-than()
Checks whether the given value is greater than compared value.
module: greater.than()
greater.than()
comparison.greater-than-any()
Checks whether the given $greater is greater than any of the given $values.
$greater
$values
module: greater.than-any()
greater.than-any()
comparison.greater-than-every()
Checks whether the given $greater is greater than every of the given $values.
module: greater.than-every()
greater.than-every()
comparison.less-than-any()
Checks whether the given $less is less than any of the given $values.
$less
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.
$value
comparison.compare-multiple()
Handles multiple comparisons.
comparison.compare()
Returns a bool indicating the result of the comparison.
bool
comparison.equal()
Function is a helper function for the compare function and it's a simple comparison of the $value1 with $value2.
$value1
$value2
Last updated 3 years ago