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

Method IsChecked

cel/env.go:79–81  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

77
78// IsChecked returns whether the Ast value has been successfully type-checked.
79func (ast *Ast) IsChecked() bool {
80 return ast.NativeRep().IsChecked()
81}
82
83// SourceInfo returns character offset and newline position information about expression elements.
84func (ast *Ast) SourceInfo() *exprpb.SourceInfo {

Callers 7

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

Calls 1

NativeRepMethod · 0.95

Tested by 5

TestAstNilFunction · 0.76
testEvalWithCostFunction · 0.36
TestDecodeNonBase64ErrorFunction · 0.36
TestAstIsCheckedFunction · 0.36