const mergeRefs = (refs) => {
	return (value) => {
		refs.forEach((ref) => {
			if (typeof ref === "function") ref(value);
			else if (ref != null && ref !== void 0) ref.current = value;
		});
	};
};
const isMutableRefObject = (ref) => {
	return !!ref && typeof ref !== "function" && "current" in ref;
};
export { mergeRefs as n, isMutableRefObject as t };

//# sourceMappingURL=refs.js.map