const r = (t) => t.filter(Boolean).join(" "), i = (...t) => {
  const n = t.filter(Boolean);
  return n.length <= 1 ? n[0] ?? null : function(f) {
    for (const e of n)
      typeof e == "function" ? e(f) : e && (e.current = f);
  };
};
export {
  r as merge,
  i as mergeRefs
};
//# sourceMappingURL=merge.es.js.map
