updeep-remeda/lib/omit.js

9 lines
165 B
JavaScript
Raw Normal View History

2017-04-19 00:55:46 +00:00
import _omit from 'lodash/omit'
import wrap from './wrap'
function omit(predicate, collection) {
2017-04-19 00:55:46 +00:00
return _omit(collection, predicate)
}
2017-04-19 00:55:46 +00:00
export default wrap(omit)