removeStep function exported ✗ 0.0%
Last updated: 2026-03-05T11:49:57.418Z
Metrics
LOC: 5
Complexity: 4
Params: 1
Coverage: 0.0% (0/2 lines, 0x executed)
Signature
removeStep(index: number): : boolean
Summary
Removes a step by index from the current session. Returns true if removed, false otherwise.
Source Code
export function removeStep(index: number): boolean {
if (!session || index < 0 || index >= session.steps.length) return false;
session.steps.splice(index, 1);
return true;
}
No outgoing dependencies.
Impact (Incoming)
| Source | Type |
|---|---|
| FillableElement | uses |