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

Method isEquivalent

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

areAllEquivalentFunction · 0.85

Tested by

no test coverage detected