HasFunction returns whether a specific function has been configured in the environment
(functionName string)
| 616 | |
| 617 | // HasFunction returns whether a specific function has been configured in the environment |
| 618 | func (e *Env) HasFunction(functionName string) bool { |
| 619 | _, ok := e.functions[functionName] |
| 620 | return ok |
| 621 | } |
| 622 | |
| 623 | // Functions returns a shallow copy of the Functions, keyed by function name, that have been configured in the environment. |
| 624 | func (e *Env) Functions() map[string]*decls.FunctionDecl { |
no outgoing calls