UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

11 lines (10 loc) 399 B
export default baseRest; /** * The base implementation of `rest` which doesn't validate or coerce arguments. * * @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. * @returns {Function} Returns the new function. */ declare function baseRest(func: Function, start?: number): Function;