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

Method isEquivalent

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

nullSafeIsEquivalentFunction · 0.85
isEquivalentMethod · 0.45

Tested by

no test coverage detected