Closed GMartigny closed 1 year ago
When calling remove, Fuse.js returns all removed items. This is not the case with removeAt and I found it confusing.
remove
removeAt
Saving the result of the splice method and returning it to the user would be great.
splice
I can look at the docs in the fuse instance before calling removeAt.
docs
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days
Description
When calling
remove
, Fuse.js returns all removed items. This is not the case withremoveAt
and I found it confusing.Describe the solution you'd like
Saving the result of the
splice
method and returning it to the user would be great.Describe alternatives you've considered
I can look at the
docs
in the fuse instance before callingremoveAt
.