MCPcopy Create free account
hub / github.com/upper/db / AnyOf

Function AnyOf

comparison.go:72–74  ·  view source on GitHub ↗

AnyOf is a comparison that means: is any of the values of the slice.

(value interface{})

Source from the content-addressed store, hash-verified

70
71// AnyOf is a comparison that means: is any of the values of the slice.
72func AnyOf(value interface{}) *Comparison {
73 return &Comparison{adapter.NewComparisonOperator(adapter.ComparisonOperatorIn, toInterfaceArray(value))}
74}
75
76// NotIn is a comparison that means: is none of the values.
77func NotIn(value ...interface{}) *Comparison {

Callers

nothing calls this directly

Calls 2

NewComparisonOperatorFunction · 0.92
toInterfaceArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…