HasFunction returns whether a specific function has been configured in the environment
(functionName string)
| 658 | |
| 659 | // HasFunction returns whether a specific function has been configured in the environment |
| 660 | func (e *Env) HasFunction(functionName string) bool { |
| 661 | _, ok := e.functions[functionName] |
| 662 | return ok |
| 663 | } |
| 664 | |
| 665 | // Functions returns a shallow copy of the Functions, keyed by function name, that have been configured in the environment. |
| 666 | func (e *Env) Functions() map[string]*decls.FunctionDecl { |
no outgoing calls