const d = (r) => Array.from(r).map(([t, o]) => ({
  key: t,
  value: o
})).reduce(
  (t, { key: o, value: n }) => (n != null && (t[o] = Number(n)), t),
  {}
);
export {
  d as castMapColumnsWidthToRecord
};
