MCPcopy Create free account
hub / github.com/MiloOweno/kernel-lab / Intersection

Function Intersection

util/set.go:65–83  ·  view source on GitHub ↗

Intersection constructs a new set, containing all elements that appear in all given sets. nil is never returned. Intersection of no sets is an empty set because that seems more useful, regardless of your very reasonable arguments otherwise.

(sets ...Set[T])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestSetOpsFunction · 0.85

Calls 1

AddMethod · 0.65

Tested by 1

TestSetOpsFunction · 0.68