MCPcopy Create free account
hub / github.com/github/gh-aw / BuildOr

Function BuildOr

pkg/workflow/expression_builder.go:57–59  ·  view source on GitHub ↗

BuildOr creates an OR node combining two conditions

(left ConditionNode, right ConditionNode)

Source from the content-addressed store, hash-verified

55
56// BuildOr creates an OR node combining two conditions
57func BuildOr(left ConditionNode, right ConditionNode) ConditionNode {
58 return &OrNode{Left: left, Right: right}
59}
60
61// BuildAnd creates an AND node combining two conditions
62func BuildAnd(left ConditionNode, right ConditionNode) ConditionNode {

Calls

no outgoing calls

Tested by

no test coverage detected