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

Method Empty

cond.go:63–68  ·  view source on GitHub ↗

Empty returns false if there are no conditions.

()

Source from the content-addressed store, hash-verified

61
62// Empty returns false if there are no conditions.
63func (c Cond) Empty() bool {
64 for range c {
65 return false
66 }
67 return true
68}
69
70// Constraints returns each one of the Cond map entires as a constraint.
71func (c Cond) Constraints() []adapter.Constraint {

Callers 1

TestCondFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestCondFunction · 0.76