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

Function DisableDeclaration

cel/decls.go:297–299  ·  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

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

Calls 1

DisableDeclarationFunction · 0.92