()
| 588 | return checkpoints; |
| 589 | }; |
| 590 | const clear = () => { |
| 591 | clearCheckpointIds(backwardIds); |
| 592 | clearCheckpointIds(forwardIds); |
| 593 | if (!isUndefined(currentId)) { |
| 594 | clearCheckpointId(currentId); |
| 595 | } |
| 596 | currentId = void 0; |
| 597 | nextCheckpointId = 0; |
| 598 | addCheckpoint(); |
| 599 | return checkpoints; |
| 600 | }; |
| 601 | const clearForward = () => { |
| 602 | if (!arrayIsEmpty(forwardIds)) { |
| 603 | clearCheckpointIds(forwardIds); |
nothing calls this directly
no test coverage detected
searching dependent graphs…