MCPcopy Create free account
hub / github.com/corestoreio/pkg / includeElement

Function includeElement

util/assert/assertions.go:742–773  ·  view source on GitHub ↗

containsElement try loop over the list check if the list includes the element. return (false, false) if impossible. return (true, false) if element was not found. return (true, true) if element was found.

(list interface{}, element interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

ContainsFunction · 0.85
NotContainsFunction · 0.85
SubsetFunction · 0.85
NotSubsetFunction · 0.85

Calls 5

ObjectsAreEqualFunction · 0.85
StringMethod · 0.65
LenMethod · 0.65
IndexMethod · 0.65
ContainsMethod · 0.45

Tested by

no test coverage detected