MCPcopy Index your code
hub / github.com/angular/angular / isNumber

Method isNumber

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

* Is this value a number?

()

Source from the content-addressed store, hash-verified

238 * Is this value a number?
239 */
240 isNumber(): boolean {
241 return this.host.isNumericLiteral(this.expression);
242 }
243
244 /**
245 * Parse the number from this value, or error if it is not a number.

Callers 1

ast_value_spec.tsFile · 0.45

Calls 1

isNumericLiteralMethod · 0.80

Tested by

no test coverage detected