Latest
function default
import { default } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/pickBy.js";

Creates an object composed of the object properties predicate returns truthy for. The predicate is invoked with two arguments: (value, key).

Examples

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

_.pickBy(object, _.isNumber); // => { 'a': 1, 'c': 3 }

Parameters

object

The source object.

predicate