UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

14 lines (13 loc) 593 B
export default baseFor; /** * The base implementation of `baseForOwn` which iterates over `object` * properties returned by `keysFunc` and invokes `iteratee` for each property. * Iteratee functions may exit iteration early by explicitly returning `false`. * * @private * @param {Object} object The object to iterate over. * @param {Function} iteratee The function invoked per iteration. * @param {Function} keysFunc The function to get the keys of `object`. * @returns {Object} Returns `object`. */ declare function baseFor(object: any, iteratee: Function, keysFunc: Function): any;