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

Method getString

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

* Parse the string from this value, or error if it is not a string.

(this: ConformsTo<this, T, string>)

Source from the content-addressed store, hash-verified

259 * Parse the string from this value, or error if it is not a string.
260 */
261 getString(this: ConformsTo<this, T, string>): string {
262 return this.host.parseStringLiteral(this.expression);
263 }
264
265 /**
266 * Is this value a boolean?

Callers 12

ast_value_spec.tsFile · 0.45
toR3PipeMetaFunction · 0.45
makeDirectiveMetadataFunction · 0.45
toR3ComponentMetaMethod · 0.45
toR3DirectiveMetaFunction · 0.45
toInputMappingFunction · 0.45
toControlCreateFunction · 0.45
toHostMetadataFunction · 0.45
toQueryMetadataFunction · 0.45

Calls 1

parseStringLiteralMethod · 0.65

Tested by

no test coverage detected