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

Method isEquivalent

packages/compiler/src/output/output_ast.ts:1037–1043  ·  view source on GitHub ↗
(e: Expression | Statement)

Source from the content-addressed store, hash-verified

1035 }
1036
1037 override isEquivalent(e: Expression | Statement): boolean {
1038 return (
1039 (e instanceof FunctionExpr || e instanceof DeclareFunctionStmt) &&
1040 areAllEquivalent(this.params, e.params) &&
1041 areAllEquivalent(this.statements, e.statements)
1042 );
1043 }
1044
1045 override isConstant() {
1046 return false;

Callers

nothing calls this directly

Calls 1

areAllEquivalentFunction · 0.85

Tested by

no test coverage detected