Filters an object. Like [].filter but for objects.
[].filter
import {filterObject} from '@augment-vir';filterObject({a: 1, b: 2, c: 3}, (key, value) => { return value >= 2;});// output is `{b: 2, c: 3}` Copy
import {filterObject} from '@augment-vir';filterObject({a: 1, b: 2, c: 3}, (key, value) => { return value >= 2;});// output is `{b: 2, c: 3}`
@augment-vir/common
Filters an object. Like
[].filter
but for objects.