import baseMatches from "./_baseMatches2.js";
import baseMatchesProperty from "./_baseMatchesProperty2.js";
import identity from "./identity2.js";
import isArray from "./isArray2.js";
import property from "./property2.js";
function baseIteratee(value) {
  if (typeof value == "function") {
    return value;
  }
  if (value == null) {
    return identity;
  }
  if (typeof value == "object") {
    return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
  }
  return property(value);
}
export {
  baseIteratee as default
};
//# sourceMappingURL=_baseIteratee2.js.map
