Removes all elements from array for which predicate returns truthy, and returns an array of the removed elements.
predicate
Differences from lodash:
array
Contribution to minified bundle size, when it is the only function imported:
Removes all elements from array for which
predicate
returns truthy, and returns an array of the removed elements.Differences from lodash:
array
in reverse orderContribution to minified bundle size, when it is the only function imported: