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