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

Function DisableDeclaration

cel/decls.go:293–295  ·  view source on GitHub ↗

DisableDeclaration disables the function signatures, effectively removing them from the type-check environment while preserving the runtime bindings.

(value bool)

Source from the content-addressed store, hash-verified

291// DisableDeclaration disables the function signatures, effectively removing them from the type-check
292// environment while preserving the runtime bindings.
293func DisableDeclaration(value bool) FunctionOpt {
294 return decls.DisableDeclaration(value)
295}
296
297// Overload defines a new global overload with an overload id, argument types, and result type. Through the
298// use of OverloadOpt options, the overload may also be configured with a binding, an operand trait, and to

Calls 1

DisableDeclarationFunction · 0.92