import arrayMap from "./_arrayMap.js";
import baseIteratee from "./_baseIteratee.js";
import basePickBy from "./_basePickBy.js";
import getAllKeysIn from "./_getAllKeysIn.js";
function pickBy(object, predicate) {
  if (object == null) {
    return {};
  }
  var props = arrayMap(getAllKeysIn(object), function(prop) {
    return [prop];
  });
  predicate = baseIteratee(predicate);
  return basePickBy(object, props, function(value, path) {
    return predicate(value, path[0]);
  });
}
export {
  pickBy as default
};
//# sourceMappingURL=pickBy.js.map
