Determine whether a numeric object is outside the passed Interval
, returning a Boolean
.
Determine whether a numeric object is outside the passed Interval
, returning a Boolean
.
the Interval
against which to compare the value passed to the constructor as left
true if the value passed to the constructor as left
is not within the Interval
passed to this method.
Compare two objects for inequality, returning a Boolean
, using the EqualityConstraint
instance passed as constraint
.
Compare two objects for inequality, returning a Boolean
, using the EqualityConstraint
instance passed as constraint
.
the object to compare for inequality with left
, passed to the constructor
an implicit EqualityConstraint
instance that enforces a relationship between types L
and R
and
defines a way of calculating equality for objects of type L
true if the left
and right
objects are not equal according to the passed EqualityConstraint
instance.
Determine whether a numeric object is within the passed Interval
, returning a Boolean
.
Determine whether a numeric object is within the passed Interval
, returning a Boolean
.
the Interval
against which to compare the value passed to the constructor as left
true if the value passed to the constructor as left
is not within the Interval
passed to this method.
Compare two objects for equality, returning a Boolean
, using the EqualityConstraint
instance passed as constraint
.
Compare two objects for equality, returning a Boolean
, using the EqualityConstraint
instance passed as constraint
.
the object to compare for equality with left
, passed to the constructor
an implicit EqualityConstraint
instance that enforces a relationship between types L
and R
and
defines a way of calculating equality for objects of type L
true if the left
and right
objects are equal according to the passed EqualityConstraint
instance.
Class used via an implicit conversion to enable two objects to be compared with
===
and!==
with aBoolean
result and an enforced type constraint between two object types. For example:You can also check numeric values against another with a tolerance. Here are some examples: