Method: Roaring::BitmapCommon#superset?

Defined in:
lib/roaring.rb

#superset?(other) ⇒ Boolean Also known as: >=

Check if ‘self` is a superset of `other`. A superset requires that `self` contain all of `other`’s elemtents. They may be equal.

Returns:

  • (Boolean)

    ‘true` if `self` is a strict subset of `other`, otherwise `false`



115
116
117
# File 'lib/roaring.rb', line 115

def superset?(other)
  other <= self
end