Remove all notes from a line that satisfy a predicate.
line.numOfNotes is updated to the surviving count.
line.numOfNotes
The RPE chart (modified in place).
Index of the target line.
Return true for each note that should be removed.
true
Array of removed notes (in original order).
// Remove all fake notes from line 0removeNotes(chart, 0, note => note.isFake === 1);// Remove all flick notesremoveNotes(chart, 0, note => note.type === 3); Copy
// Remove all fake notes from line 0removeNotes(chart, 0, note => note.isFake === 1);// Remove all flick notesremoveNotes(chart, 0, note => note.type === 3);
Remove all notes from a line that satisfy a predicate.
line.numOfNotesis updated to the surviving count.