Generates a validator that succeeds only if the provided value is less than the specified bound.
Generates a validator that succeeds if the provided value is less than or equal to the specified bound.
Generates a validator that succeeds if the provided value is exactly equal to the specified value.
Generates a validator that succeeds only if the provided value is greater than the specified bound.
Generates a validator that succeeds if the provided value is greater than or equal to the specified bound.
Generates a validator that succeeds if the provided value is between (inclusive) the specified bounds.
Generates a validator that succeeds if the provided value is between (inclusive) the specified bounds.
The method exclusive
is provided to specify an exclusive upper bound.
Generates a validator that succeeds if the provided value is within the specified range.
Generates a validator that succeeds if the provided value is within the specified range.
Provides a DSL for objects implementing scala.math.Ordering.
Implementation note: All methods here should only require scala.math.PartialOrdering, but the canonical implicits are defined in the Ordering companion and would therefore not be imported by default at the call site.