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

Method HasOutput

policy/parser.go:365–367  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

363
364// HasOutput indicates whether the output field is set of the match.
365func (m *Match) HasOutput() bool {
366 return m.output != nil
367}
368
369// Output returns the output expression, or empty expression if output is not set.
370func (m *Match) Output() ValueString {

Callers 4

OutputMethod · 0.95
parseMatchInternalMethod · 0.95
exprLinesFromPolicyFunction · 0.80
compileRuleMethod · 0.80

Calls

no outgoing calls

Tested by 1

exprLinesFromPolicyFunction · 0.64