1 var baseAssignValue = require('./_baseAssignValue');
4 * The base implementation of `_.pickBy` without support for iteratee shorthands.
7 * @param {Object} object The source object.
8 * @param {string[]} props The property identifiers to pick from.
9 * @param {Function} predicate The function invoked per property.
10 * @returns {Object} Returns the new object.
12 function basePickBy(object, props, predicate) {
14 length = props.length,
17 while (++index < length) {
18 var key = props[index],
21 if (predicate(value, key)) {
22 baseAssignValue(result, key, value);
28 module.exports = basePickBy;