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

Function jitOnlyGuardedExpression

packages/compiler/src/render3/util.ts:53–55  ·  view source on GitHub ↗
(expr: o.Expression)

Source from the content-addressed store, hash-verified

51}
52
53export function jitOnlyGuardedExpression(expr: o.Expression): o.Expression {
54 return guardedExpression('ngJitMode', expr);
55}
56
57export function devOnlyGuardedExpression(expr: o.Expression): o.Expression {
58 return guardedExpression('ngDevMode', expr);

Callers 1

Calls 1

guardedExpressionFunction · 0.85

Tested by

no test coverage detected