MCPcopy Create free account
hub / github.com/ExpediaGroup/flyte / HasMatchingElement

Function HasMatchingElement

collections/collections.go:63–72  ·  view source on GitHub ↗

checks if the slices have at least one matching element i.e. their intersection is non-nil

(a []string, b []string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

fulfilledMethod · 0.92
TestHasMatchingElementFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestHasMatchingElementFunction · 0.68