import baseMatches from "./_baseMatches3.js";
import baseMatchesProperty from "./_baseMatchesProperty3.js";
import identity from "./identity3.js";
import isArray from "./isArray3.js";
import property from "./property3.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=_baseIteratee3.js.map
