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

Method IsDeclarationDisabled

common/decls/decls.go:134–139  ·  view source on GitHub ↗

IsDeclarationDisabled indicates that the function implementation should be added to the dispatcher, but the declaration should not be exposed for use in expressions.

()

Source from the content-addressed store, hash-verified

132// IsDeclarationDisabled indicates that the function implementation should be added to the dispatcher, but the
133// declaration should not be exposed for use in expressions.
134func (f *FunctionDecl) IsDeclarationDisabled() bool {
135 if f == nil {
136 return true
137 }
138 return f.state == declarationDisabled
139}
140
141// Merge combines an existing function declaration with another.
142//

Callers 4

TestNilFunctionFunction · 0.95
initCheckerMethod · 0.80

Calls

no outgoing calls

Tested by 3

TestNilFunctionFunction · 0.76