UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

12 lines (11 loc) 468 B
export default overRest; /** * A specialized version of `baseRest` which transforms the rest array. * * @private * @param {Function} func The function to apply a rest parameter to. * @param {number} [start=func.length-1] The start position of the rest parameter. * @param {Function} transform The rest array transform. * @returns {Function} Returns the new function. */ declare function overRest(func: Function, start?: number, transform: Function): Function;