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

Method HasSingletonBinding

common/decls/decls.go:307–312  ·  view source on GitHub ↗

HasSingletonBinding indicates whether the function has a singleton binding definition.

()

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by 1