updeep-remeda/lib/omit.js

5 lines
161 B
JavaScript
Raw Normal View History

2015-08-01 15:13:25 +00:00
import omit from 'lodash/object/omit';
import curry from 'lodash/function/curry';
2015-08-01 15:13:25 +00:00
export default curry((predicate, collection) => omit(collection, predicate));