1.0.0 • Published 8 years ago
remove-and-do v1.0.0
remove-and-do
Remove an item from a collection in context and run an action on removed item
Installation
$ npm install --save remove-and-do
Usage
var removeAndDo = require('remove-and-do');
removeAndDo(this, collection, thing, action);
// -> true if removed, false otherwise
License
MIT ©Gilad Peleg
1.0.0
8 years ago