We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Discard values at given indices.
Alternatives: reject, reject$, rejectAt. Similar: map, filter, reject, reduce.
function rejectAt(x, is) // x: an array // is: indices
const xarray = require('extra-array'); var x = [2, 4, 6, 8]; xarray.rejectAt(x, [1, 2]); // → [ 2, 8 ] xarray.rejectAt(x, [1, 3]); // → [ 2, 6 ]