Libraries returns a list of SingletonLibrary that have been configured in the environment.
()
| 649 | |
| 650 | // Libraries returns a list of SingletonLibrary that have been configured in the environment. |
| 651 | func (e *Env) Libraries() []string { |
| 652 | libraries := make([]string, 0, len(e.libraries)) |
| 653 | for libName := range e.libraries { |
| 654 | libraries = append(libraries, libName) |
| 655 | } |
| 656 | return libraries |
| 657 | } |
| 658 | |
| 659 | // HasFunction returns whether a specific function has been configured in the environment |
| 660 | func (e *Env) HasFunction(functionName string) bool { |
no outgoing calls