Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
80742 views
1
var createBaseFor = require('./createBaseFor');
2
3
/**
4
* The base implementation of `baseForIn` and `baseForOwn` which iterates
5
* over `object` properties returned by `keysFunc` invoking `iteratee` for
6
* each property. Iteratee functions may exit iteration early by explicitly
7
* returning `false`.
8
*
9
* @private
10
* @param {Object} object The object to iterate over.
11
* @param {Function} iteratee The function invoked per iteration.
12
* @param {Function} keysFunc The function to get the keys of `object`.
13
* @returns {Object} Returns `object`.
14
*/
15
var baseFor = createBaseFor();
16
17
module.exports = baseFor;
18
19