UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

12 lines (11 loc) 375 B
export default arrayMap; /** * A specialized version of `map` for arrays without support for iteratee * shorthands. * * @private * @param {Array} [array] The array to iterate over. * @param {Function} iteratee The function invoked per iteration. * @returns {Array} Returns the new mapped array. */ declare function arrayMap(array?: any[], iteratee: Function): any[];