Sha256: e3a9f736f99fb31cf6f30b601aa833cf8773503ff2444f3c09d09df16bb07b6e
Contents?: true
Size: 457 Bytes
Versions: 273
Compression:
Stored size: 457 Bytes
Contents
var flatten = require('./flatten'), overRest = require('./_overRest'), setToString = require('./_setToString'); /** * A specialized version of `baseRest` which flattens the rest array. * * @private * @param {Function} func The function to apply a rest parameter to. * @returns {Function} Returns the new function. */ function flatRest(func) { return setToString(overRest(func, undefined, flatten), func + ''); } module.exports = flatRest;
Version data entries
273 entries across 271 versions & 29 rubygems