MCPcopy Index your code
hub / github.com/coder/coder / equality

Struct equality

coderd/rbac/regosql/sqltypes/equality.go:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22)
23
24type equality struct {
25 Left Node
26 Right Node
27
28 // Not just inverses the result of the comparison. We could implement this
29 // as a Not node wrapping the equality, but this is more efficient.
30 Not bool
31}
32
33func Equality(notEquals bool, a, b Node) BooleanNode {
34 return equality{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected