Libraries returns a list of SingletonLibrary that have been configured in the environment.
()
| 607 | |
| 608 | // Libraries returns a list of SingletonLibrary that have been configured in the environment. |
| 609 | func (e *Env) Libraries() []string { |
| 610 | libraries := make([]string, 0, len(e.libraries)) |
| 611 | for libName := range e.libraries { |
| 612 | libraries = append(libraries, libName) |
| 613 | } |
| 614 | return libraries |
| 615 | } |
| 616 | |
| 617 | // HasFunction returns whether a specific function has been configured in the environment |
| 618 | func (e *Env) HasFunction(functionName string) bool { |
no outgoing calls