HasLibrary returns whether a specific SingletonLibrary has been configured in the environment.
(libName string)
| 601 | |
| 602 | // HasLibrary returns whether a specific SingletonLibrary has been configured in the environment. |
| 603 | func (e *Env) HasLibrary(libName string) bool { |
| 604 | _, exists := e.libraries[libName] |
| 605 | return exists |
| 606 | } |
| 607 | |
| 608 | // Libraries returns a list of SingletonLibrary that have been configured in the environment. |
| 609 | func (e *Env) Libraries() []string { |
no outgoing calls