org.scalactic.TripleEqualsSupport
Determines whether an object reference is non-null
.
Determines whether an object reference is non-null
.
a null
value against which to compare the value passed to the constructor as leftSide
for inequality
true if the value passed to the constructor as leftSide
is non-null
.
Determine whether a numeric object is outside the passed Spread
, returning a Boolean
.
Determine whether a numeric object is outside the passed Spread
, returning a Boolean
.
the Spread
against which to compare the value passed to the constructor as leftSide
true if the value passed to the constructor as leftSide
is not within the Spread
passed to this method.
Compare two objects for inequality, returning a Boolean
, using the Equality
type class passed as equality
.
Compare two objects for inequality, returning a Boolean
, using the Equality
type class passed as equality
.
the object to compare for inequality with leftSide
, passed to the constructor
an implicit Equality
type class that defines a way of calculating equality for objects of type L
true if the leftSide
and rightSide
objects are not equal according to the passed Equality
type class.
Determine whether an object reference is null
.
Determine whether an object reference is null
.
a null
value against which to compare the value passed to the constructor as leftSide
for equality
true if the value passed to the constructor as leftSide
is null
.
Determine whether a numeric object is within the passed Spread
, returning a Boolean
.
Determine whether a numeric object is within the passed Spread
, returning a Boolean
.
the Spread
against which to compare the value passed to the constructor as leftSide
true if the value passed to the constructor as leftSide
is within the Spread
passed to this method.
Compare two objects for equality, returning a Boolean
, using the Equality
type class passed as equality
.
Compare two objects for equality, returning a Boolean
, using the Equality
type class passed as equality
.
the object to compare for equality with leftSide
, passed to the constructor
an implicit Equality
type class that defines a way of calculating equality for objects of type L
true if the leftSide
and rightSide
objects are equal according to the passed Equality
type class.
An object to convert to Equalizer
, which represents the value
on the left side of a ===
or !==
invocation.
Class used via an implicit conversion to enable any two objects to be compared with
===
and!==
with aBoolean
result and no enforced type constraint between two object types. For example:You can also check numeric values against another with a tolerance. Here are some examples: