Get the App representing an expression, this gives you access to the underlying FuncDecl and parameters.
App? getExprApp(Expr expr) => currentContext.getExprApp(expr);