"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const _arrayReduce = require("./_arrayReduce.cjs");
const _baseEach = require("./_baseEach.cjs");
const _baseIteratee = require("./_baseIteratee.cjs");
const _baseReduce = require("./_baseReduce.cjs");
const isArray = require("./isArray.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=reduce.cjs.map
