Liferay.Loader.define('document-library-preview-image$lodash-es@4.17.15/_flatRest', ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    import flatten from './flatten.js';
    import overRest from './_overRest.js';
    import setToString from './_setToString.js';

    /**
     * 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 + '');
    }

    export default flatRest;
  }
});
//# sourceMappingURL=_flatRest.js.map