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

Method HasSingletonBinding

common/decls/decls.go:308–313  ·  view source on GitHub ↗

HasSingletonBinding indicates whether the function has a singleton binding definition.

()

Source from the content-addressed store, hash-verified

306
307// HasSingletonBinding indicates whether the function has a singleton binding definition.
308func (f *FunctionDecl) HasSingletonBinding() bool {
309 if f == nil {
310 return false
311 }
312 return f.singleton != nil
313}
314
315// HasLateBinding returns true if the function has late bindings. A function cannot mix late bindings with other bindings.
316func (f *FunctionDecl) HasLateBinding() bool {

Callers 1

Calls

no outgoing calls

Tested by 1