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

Method HasSingletonBinding

common/decls/decls.go:318–323  ·  view source on GitHub ↗

HasSingletonBinding indicates whether the function has a singleton binding definition.

()

Source from the content-addressed store, hash-verified

316
317// HasSingletonBinding indicates whether the function has a singleton binding definition.
318func (f *FunctionDecl) HasSingletonBinding() bool {
319 if f == nil {
320 return false
321 }
322 return f.singleton != nil
323}
324
325// HasLateBinding returns true if the function has late bindings. A function cannot mix late bindings with other bindings.
326func (f *FunctionDecl) HasLateBinding() bool {

Callers 1

Calls

no outgoing calls

Tested by 1