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

Method isEquivalent

packages/compiler/src/output/output_ast.ts:925–932  ·  view source on GitHub ↗
(e: Expression)

Source from the content-addressed store, hash-verified

923 }
924
925 override isEquivalent(e: Expression): boolean {
926 return (
927 e instanceof ConditionalExpr &&
928 this.condition.isEquivalent(e.condition) &&
929 this.trueCase.isEquivalent(e.trueCase) &&
930 nullSafeIsEquivalent(this.falseCase, e.falseCase)
931 );
932 }
933
934 override isConstant() {
935 return false;

Callers

nothing calls this directly

Calls 2

nullSafeIsEquivalentFunction · 0.85
isEquivalentMethod · 0.45

Tested by

no test coverage detected