CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes45downloads
_flatRest.js17 linesDownload Raw Back to lodash-es
1import flatten from './flatten.js';2import overRest from './_overRest.js';3import setToString from './_setToString.js';4 5/**6 * A specialized version of `baseRest` which flattens the rest array.7 *8 * @private9 * @param {Function} func The function to apply a rest parameter to.10 * @returns {Function} Returns the new function.11 */12function flatRest(func) {13  return setToString(overRest(func, undefined, flatten), func + '');14}15 16export default flatRest;17 
basant307/AI_Governance_Project · CoolFace