MCPcopy Create free account
hub / github.com/cel-expr/cel-go / HasOutput

Method HasOutput

policy/parser.go:323–325  ·  view source on GitHub ↗

HasOutput indicates whether the output field is set of the match.

()

Source from the content-addressed store, hash-verified

321
322// HasOutput indicates whether the output field is set of the match.
323func (m *Match) HasOutput() bool {
324 return m.output != nil
325}
326
327// Output returns the output expression, or empty expression if output is not set.
328func (m *Match) Output() ValueString {

Callers 4

OutputMethod · 0.95
ParseMatchMethod · 0.95
exprLinesFromPolicyFunction · 0.80
compileRuleMethod · 0.80

Calls

no outgoing calls

Tested by 1

exprLinesFromPolicyFunction · 0.64