import{r as e}from"./toString.tRXNBxtF.js";import{t}from"./isArrayLike.Crw2F5li.js";import{C as n,D as r,E as i,b as a,i as o,k as s}from"./isArrayLikeObject.B3Zf3PTL.js";var c=`[object Map]`,l=`[object Set]`,u=Object.prototype.hasOwnProperty;function d(d){if(d==null)return!0;if(t(d)&&(e(d)||typeof d==`string`||typeof d.splice==`function`||i(d)||n(d)||r(d)))return!d.length;var f=o(d);if(f==c||f==l)return!d.size;if(s(d))return!a(d).length;for(var p in d)if(u.call(d,p))return!1;return!0}export{d as t};