updeep-remeda/lib/omit.js
2015-08-01 08:13:25 -07:00

5 lines
161 B
JavaScript

import omit from 'lodash/object/omit';
import curry from 'lodash/function/curry';
export default curry((predicate, collection) => omit(collection, predicate));