@newdash/newdash
Version:
javascript/typescript utility library
12 lines (11 loc) • 403 B
TypeScript
export default baseTimes;
/**
* The base implementation of `times` without support for iteratee shorthands
* or max array length checks.
*
* @private
* @param {number} n The number of times to invoke `iteratee`.
* @param {Function} iteratee The function invoked per iteration.
* @returns {Array} Returns the array of results.
*/
declare function baseTimes(n: number, iteratee: Function): any[];