import i from "../../../../rc-util/es/Children/toArray.mjs";
import n from "../Sider.mjs";
function s(r, o, e) {
  return typeof e == "boolean" ? e : r.length ? !0 : i(o).some((t) => t.type === n);
}
export {
  s as default
};
