Expand description
Utilities for numeric validations.
Functionsยง
- Alias for
in_range. - Alias for
equal_to. - Returns a closure that takes an argument and checks if it is equal to the given value
a. - Alias for
larger_than_or_equal_to. - Alias for
larger_than. - Returns a closure that takes an argument and checks if it is within the given range
[a, b]. - Returns a closure that takes an argument and checks if it is less than the given value
a. - Returns a closure that takes an argument and checks if it is greater than or equal to the given value
a. - Alias for
smaller_than_or_equal_to. - Alias for
smaller_than. - Alias for
not_equal_to. - Returns a closure that takes an argument and checks if it is not equal to the given value
a. - Returns a closure that takes an argument and checks if it is greater than the given value
a. - Returns a closure that takes an argument and checks if it is less than or equal to the given value
a.