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

Struct ComparisonNode

pkg/workflow/expression_nodes.go:189–193  ·  view source on GitHub ↗

ComparisonNode represents comparison operations like ==, !=, <, >, <=, >=

Source from the content-addressed store, hash-verified

187
188// ComparisonNode represents comparison operations like ==, !=, <, >, <=, >=
189type ComparisonNode struct {
190 Left ConditionNode
191 Operator string
192 Right ConditionNode
193}
194
195func (c *ComparisonNode) Render() string {
196 return c.Left.Render() + " " + c.Operator + " " + c.Right.Render()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected