Binary comparison operators for Container() objects and
derived classes.
Usage
# S3 method for class 'Container'
x == y
# S3 method for class 'Container'
x != y
# S3 method for class 'Container'
x < y
# S3 method for class 'Container'
x > y
# S3 method for class 'Container'
x <= y
# S3 method for class 'Container'
x >= yArguments
- 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.
Details
x == yisTRUEif the contents ofxandyare lexicographically equal.x != yisTRUEif the contents ofxandyare not equal.x < yisTRUEif the contents of x are lexicographically less than the contents of y.x <= yisTRUEif the contents of x are lexicographically less than or equal to the contents of y.
