- :logical
disjoint?
check if given sets are disjoint (they have no common elements)
Parameters
disjoint? setA :block setB :block
Returns
Examples
copydisjoint? [1 2 3 4] [3 4 5 6] ; => false disjoint? [1 2 3 4] [5 6 7 8] ; => true
disjoint? setA :block setB :block
copydisjoint? [1 2 3 4] [3 4 5 6] ; => false disjoint? [1 2 3 4] [5 6 7 8] ; => true