Remove a note from a line by index.
line.numOfNotes is decremented automatically.
line.numOfNotes
The RPE chart (modified in place).
Index of the target line.
Index within line.notes to remove.
line.notes
The removed Note, or undefined if the index is out of range.
Note
undefined
const removed = removeNote(chart, 0, 3); // remove 4th note on line 0 Copy
const removed = removeNote(chart, 0, 3); // remove 4th note on line 0
Remove a note from a line by index.
line.numOfNotesis decremented automatically.