"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const _baseMatches = require("./_baseMatches2.cjs");
const _baseMatchesProperty = require("./_baseMatchesProperty2.cjs");
const identity = require("./identity2.cjs");
const isArray = require("./isArray2.cjs");
const property = require("./property2.cjs");
function baseIteratee(value) {
  if (typeof value == "function") {
    return value;
  }
  if (value == null) {
    return identity.default;
  }
  if (typeof value == "object") {
    return isArray.default(value) ? _baseMatchesProperty.default(value[0], value[1]) : _baseMatches.default(value);
  }
  return property.default(value);
}
exports.default = baseIteratee;
//# sourceMappingURL=_baseIteratee2.cjs.map
