MCPcopy Create free account
hub / github.com/cel-expr/cel-go / setsEquivalent

Function setsEquivalent

ext/sets.go:219–225  ·  view source on GitHub ↗
(listA, listB ref.Val)

Source from the content-addressed store, hash-verified

217}
218
219func setsEquivalent(listA, listB ref.Val) ref.Val {
220 aContainsB := setsContains(listA, listB)
221 if aContainsB != types.True {
222 return aContainsB
223 }
224 return setsContains(listB, listA)
225}
226
227func setsCostModel(id string, costFactor float64) cost.OverloadModel {
228 return cost.Overload(id,

Callers 1

listHasExactlyFunction · 0.85

Calls 1

setsContainsFunction · 0.85

Tested by

no test coverage detected