"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const _arrayReduce = require("./_arrayReduce2.cjs");
const _baseEach = require("./_baseEach2.cjs");
const _baseIteratee = require("./_baseIteratee2.cjs");
const _baseReduce = require("./_baseReduce2.cjs");
const isArray = require("./isArray2.cjs");
function reduce(collection, iteratee, accumulator) {
  var func = isArray.default(collection) ? _arrayReduce.default : _baseReduce.default, initAccum = arguments.length < 3;
  return func(collection, _baseIteratee.default(iteratee), accumulator, initAccum, _baseEach.default);
}
exports.default = reduce;
//# sourceMappingURL=reduce2.cjs.map
