(rect: Rect)
| 138 | } |
| 139 | |
| 140 | equals(rect: Rect): boolean { |
| 141 | return ( |
| 142 | rect.x === this.x && |
| 143 | rect.y === this.y && |
| 144 | rect.width === this.width && |
| 145 | rect.height === this.height |
| 146 | ); |
| 147 | } |
| 148 | |
| 149 | pointEquals(point: Point | Rect): boolean { |
| 150 | return this.x === point.x && this.y === point.y; |
no outgoing calls
no test coverage detected