UNPKG

lodash-es

Version:

The modern build of lodash exported as ES modules.

18 lines (15 loc) 470 B
import baseFor from './baseFor'; import keysIn from '../object/keysIn'; /** * The base implementation of `_.forIn` without support for callback * shorthands and `this` binding. * * @private * @param {Object} object The object to iterate over. * @param {Function} iteratee The function invoked per iteration. * @returns {Object} Returns `object`. */ function baseForIn(object, iteratee) { return baseFor(object, iteratee, keysIn); } export default baseForIn;