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

Method IsChecked

cel/env.go:74–76  ·  view source on GitHub ↗

IsChecked returns whether the Ast value has been successfully type-checked.

()

Source from the content-addressed store, hash-verified

72
73// IsChecked returns whether the Ast value has been successfully type-checked.
74func (ast *Ast) IsChecked() bool {
75 return ast.NativeRep().IsChecked()
76}
77
78// SourceInfo returns character offset and newline position information about expression elements.
79func (ast *Ast) SourceInfo() *exprpb.SourceInfo {

Callers 6

TestAstNilFunction · 0.95
testEvalWithCostFunction · 0.45
ResidualAstMethod · 0.45
AstToCheckedExprFunction · 0.45
TestAstIsCheckedFunction · 0.45

Calls 1

NativeRepMethod · 0.95

Tested by 4

TestAstNilFunction · 0.76
testEvalWithCostFunction · 0.36
TestAstIsCheckedFunction · 0.36