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

Method isBooleanLiteral

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

* Return `true` if the given expression can be considered a boolean literal, or false otherwise. * * Note that this should also cover the special case of some minified code where `true` and * `false` are replaced by `!0` and `!1` respectively.

(node: TExpression)

Source from the content-addressed store, hash-verified

42 * `false` are replaced by `!0` and `!1` respectively.
43 */
44 isBooleanLiteral(node: TExpression): boolean;
45 /**
46 * Parse the boolean value from the given expression, or throw if it is not a boolean literal.
47 *

Callers 6

isBooleanMethod · 0.65
isBooleanLiteralMethod · 0.65
parseBooleanLiteralMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected