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

Method getBoolean

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

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

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

Source from the content-addressed store, hash-verified

273 * Parse the boolean from this value, or error if it is not a boolean.
274 */
275 getBoolean(this: ConformsTo<this, T, boolean>): boolean {
276 return this.host.parseBooleanLiteral(this.expression);
277 }
278
279 /**
280 * Is this value an object literal?

Callers 8

ast_value_spec.tsFile · 0.45
toR3PipeMetaFunction · 0.45
toR3ComponentMetaMethod · 0.45
getDependencyFunction · 0.45
toR3ServiceMetaFunction · 0.45
toR3DirectiveMetaFunction · 0.45
toInputMappingFunction · 0.45
toQueryMetadataFunction · 0.45

Calls 1

parseBooleanLiteralMethod · 0.65

Tested by

no test coverage detected