MCPcopy
hub / github.com/angular/angular / isFunction

Method isFunction

packages/compiler-cli/linker/src/ast/ast_value.ts:316–318  ·  view source on GitHub ↗

* Is this value a function expression?

()

Source from the content-addressed store, hash-verified

314 * Is this value a function expression?
315 */
316 isFunction(): boolean {
317 return this.host.isFunctionExpression(this.expression);
318 }
319
320 /**
321 * Extract the return value as an `AstValue` from this value as a function expression, or error if

Callers 10

ast_value_spec.tsFile · 0.80
toR3NgModuleMetaFunction · 0.80
extractForwardRefFunction · 0.80
isFunctionExpressionMethod · 0.80
downgradeModuleFunction · 0.80
ngOnInitMethod · 0.80
ngOnDestroyMethod · 0.80
forwardChangesMethod · 0.80

Calls 1

isFunctionExpressionMethod · 0.65

Tested by

no test coverage detected