MCPcopy
hub / github.com/moby/moby / Contains

Function Contains

integration-cli/checker/checker.go:37–41  ·  view source on GitHub ↗

Contains checks if the value contains the given value

(y any)

Source from the content-addressed store, hash-verified

35
36// Contains checks if the value contains the given value
37func Contains(y any) Compare {
38 return func(x any) assert.BoolOrComparison {
39 return is.Contains(x, y)
40 }
41}
42
43// Not checks if two values are not
44func Not(c Compare) Compare {

Callers 3

pruneNetworkAndVerifyFunction · 0.92

Calls 1

ContainsMethod · 0.45

Tested by 3

pruneNetworkAndVerifyFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…