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

Method isNumericLiteral

packages/compiler-cli/linker/src/ast/ast_host.ts:32–32  ·  view source on GitHub ↗

* Return `true` if the given expression is a numeric literal, or false otherwise.

(node: TExpression)

Source from the content-addressed store, hash-verified

30 * Return `true` if the given expression is a numeric literal, or false otherwise.
31 */
32 isNumericLiteral(node: TExpression): boolean;
33 /**
34 * Parse the numeric value from the given expression, or throw if it is not a numeric literal.
35 */

Callers 15

hasPropertyNameTextFunction · 0.80
extractPropertyKeyFunction · 0.80
extractPropertyValueFunction · 0.80
analyzeLiteralPatternFunction · 0.80
extractPropertyKeyFunction · 0.80
extractPropertyValueFunction · 0.80
isNumberMethod · 0.80
isPropertyNameFunction · 0.80
isMinifiedBooleanLiteralFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected