import{isFunction as r}from"../../../utils/dist/esm/assertion.js";function t(t,n){if(null!=t)if(r(t))t(n);else try{t.current=n}catch(r){throw new Error("Cannot assign value '"+n+"' to ref '"+t+"'")}}function n(){for(var r=arguments.length,n=new Array(r),e=0;e<r;e++)n[e]=arguments[e];return r=>{n.forEach((n=>t(n,r)))}}export{t as assignRef,n as mergeRefs};
//# sourceMappingURL=refs.js.map
