- :logical
superset?
check if given set is a superset of second set
Parameters
superset? setA :block setB :block
Attributes
proper | check if proper superset |
Returns
Examples
copysuperset? [1 2 3 4] [1 3] ; => true superset?.proper [1 2 3 4] [1 3] ; => true superset? [3 5 6] [1 3] ; => false superset? [1 3] [1 3] ; => true superset?.proper [1 3] [1 3] ; => false