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