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

Method Libraries

cel/env.go:716–722  ·  view source on GitHub ↗

Libraries returns a list of SingletonLibrary that have been configured in the environment.

()

Source from the content-addressed store, hash-verified

714
715// Libraries returns a list of SingletonLibrary that have been configured in the environment.
716func (e *Env) Libraries() []string {
717 libraries := make([]string, 0, len(e.libraries))
718 for libName := range e.libraries {
719 libraries = append(libraries, libName)
720 }
721 return libraries
722}
723
724// HasFunction returns whether a specific function has been configured in the environment
725func (e *Env) HasFunction(functionName string) bool {

Callers 1

TestLibrariesFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestLibrariesFunction · 0.76