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

Method IsDeclarationDisabled

common/decls/decls.go:130–135  ·  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

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

Callers 4

TestNilFunctionFunction · 0.95
initCheckerMethod · 0.80

Calls

no outgoing calls

Tested by 3

TestNilFunctionFunction · 0.76