HasFunction returns whether a specific function has been configured in the environment
(functionName string)
| 723 | |
| 724 | // HasFunction returns whether a specific function has been configured in the environment |
| 725 | func (e *Env) HasFunction(functionName string) bool { |
| 726 | _, ok := e.functions[functionName] |
| 727 | return ok |
| 728 | } |
| 729 | |
| 730 | // Functions returns a shallow copy of the Functions, keyed by function name, that have been configured in the environment. |
| 731 | func (e *Env) Functions() map[string]*decls.FunctionDecl { |
no outgoing calls