Binary comparison operators for Container()
objects and
derived classes.
# S3 method for Container
==(x, y)
# S3 method for Container
!=(x, y)
# S3 method for Container
<(x, y)
# S3 method for Container
>(x, y)
# S3 method for Container
<=(x, y)
# S3 method for Container
>=(x, y)
at least one must be a Container()
object (or an object of
one of the derived classes) while the other must be at least iterable.
x == y
is TRUE
if the contents of x
and y
are lexicographically equal.
x != y
is TRUE
if the contents of x
and y
are not equal.
x < y
is TRUE
if the contents of x are lexicographically less than the
contents of y.
x <= y
is TRUE
if the contents of x are lexicographically less than
or equal to the contents of y.