Object
Omit unwanted attributes from an object by an identity function
Given an object and an identity function, returns a new object without any of the values which makes identity returns true.
import { omitBy } from 'radash'
const fish = {
name: 'Bass',
weight: 8,
source: 'lake',
brackish: false
}
omitBy(fish, v => v === 8) // => { name, source, brackish }