MCPcopy Index your code
hub / github.com/clips/pattern / intersection

Function intersection

pattern/graph/__init__.py:977–978  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

975def union(a, b):
976 return list(set(a) | set(b))
977def intersection(a, b):
978 return list(set(a) & set(b))
979def difference(a, b):
980 return list(set(a) - set(b))
981

Callers 1

partitionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…