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

Method isEquivalent

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

Source from the content-addressed store, hash-verified

455 }
456
457 override isEquivalent(e: Expression): boolean {
458 return (
459 e instanceof InvokeFunctionExpr &&
460 this.fn.isEquivalent(e.fn) &&
461 areAllEquivalent(this.args, e.args) &&
462 this.pure === e.pure
463 );
464 }
465
466 override isConstant() {
467 return false;

Callers

nothing calls this directly

Calls 2

areAllEquivalentFunction · 0.85
isEquivalentMethod · 0.45

Tested by

no test coverage detected