fn function

FunctionExpr fn(
  1. List<FnParam> params,
  2. List<Statement> body, [
  3. OutputType? type
])

Implementation

FunctionExpr fn(List<FnParam> params, List<Statement> body,
    [OutputType? type]) {
  return FunctionExpr(params, body, type);
}