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

Method isStringLiteral

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

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

(node: TExpression)

Source from the content-addressed store, hash-verified

21 * Return `true` if the given expression is a string literal, or false otherwise.
22 */
23 isStringLiteral(node: TExpression): boolean;
24 /**
25 * Parse the string value from the given expression, or throw if it is not a string literal.
26 */

Callers 15

parseExtractedStylesFunction · 0.80
addMethod · 0.80
isStringLiteralArrayFunction · 0.80
isLocalizeGuardFunction · 0.80
_getQuoteKindMethod · 0.80
hasPropertyNameTextFunction · 0.80
getImportOfIdentifierFunction · 0.80
getImportSpecifiersFunction · 0.80
getNamedImportsFunction · 0.80
analyzeMethod · 0.80
migrateModelPropertyMethod · 0.80
visitorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected