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

Function And

coderd/rbac/regosql/sqltypes/binary.go:31–33  ·  view source on GitHub ↗
(source RegoSource, terms ...BooleanNode)

Source from the content-addressed store, hash-verified

29}
30
31func And(source RegoSource, terms ...BooleanNode) BooleanNode {
32 return newBinaryOp(source, binaryOpAND, terms...)
33}
34
35func newBinaryOp(source RegoSource, op binaryOperator, terms ...BooleanNode) BooleanNode {
36 if len(terms) == 0 {

Callers 1

convertQueryFunction · 0.92

Calls 1

newBinaryOpFunction · 0.85

Tested by

no test coverage detected