(p1: Point, p2: Point)
| 42 | }; |
| 43 | |
| 44 | function isSamePos(p1: Point, p2: Point) { |
| 45 | return p1.x === p2.x && p1.y === p2.y; |
| 46 | } |
| 47 | |
| 48 | function isOutsideGrid(gridSize: Point, p: Point) { |
| 49 | return p.x < 0 || p.x >= gridSize.x || p.y < 0 || p.y >= gridSize.y; |
no outgoing calls
no test coverage detected
searching dependent graphs…