MCPcopy Create free account
hub / github.com/angular/angular / fn

Function fn

packages/compiler/src/output/output_ast.ts:1997–2005  ·  view source on GitHub ↗
(
  params: FnParam[],
  body: Statement[],
  type?: Type | null,
  sourceSpan?: ParseSourceSpan | null,
  name?: string | null,
)

Source from the content-addressed store, hash-verified

1995}
1996
1997export function fn(
1998 params: FnParam[],
1999 body: Statement[],
2000 type?: Type | null,
2001 sourceSpan?: ParseSourceSpan | null,
2002 name?: string | null,
2003): FunctionExpr {
2004 return new FunctionExpr(params, body, type, sourceSpan, name);
2005}
2006
2007export function arrowFn(
2008 params: FnParam[],

Callers 5

executeFunctionMethod · 0.70
runExtraChecksFunction · 0.50
inPhaseMethod · 0.50
inPhaseMethod · 0.50
inPhaseMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected