Module

x/lodash_es/src/object.js>omitBy

lodash for deno use
Latest
function omitBy
import { omitBy } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/object.js";

The opposite of _.pickBy; this method creates an object composed of the own and inherited enumerable string keyed properties of object that predicate doesn't return truthy for. The predicate is invoked with two arguments: (value, key).

Examples

var object = { 'a': 1, 'b': '2', 'c': 3 };

_.omitBy(object, _.isNumber); // => { 'b': '2' }

Parameters

object

The source object.

predicate