function s(r) {
  const { cellEdit: i, isSelectionColumn: l, isActionColumn: u, columnDef: e, record: o, rowIndex: f } = r;
  if (!i || l || u || !(e != null && e.editable))
    return null;
  const t = e.editable;
  if (typeof t == "function") {
    const n = t(o, f);
    return n === !1 ? null : n === !0 ? { type: "text" } : n;
  }
  return t === !0 ? { type: "text" } : t;
}
export {
  s as default
};
//# sourceMappingURL=resolveEditableConfig.js.map
