/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
function n(n,r){for(const t of n.values())if(r(t))return!0;return!1}function r(n,r){if(!r)return n;for(const t of r)null!=t&&n.add(t);return n}function t(n,r){if(!r)return n;for(const t of r)n.delete(t);return n}function u(n,r){return null!=r&&n.add(r),n}function e(n,t){const u=new Set;return r(u,n),r(u,t),u}function o(n,r){const t=new Set;for(const u of r)n.has(u)&&t.add(u);return t}function f(n,r){if(!n||!r)return!1;if(n===r)return!0;for(const t of n)if(!r.has(t))return!1;return!0}function i(n,r){if(null==n&&null==r)return!0;if(null==n||null==r||n.size!==r.size)return!1;for(const t of n)if(!r.has(t))return!1;return!0}function c(n,r){const t=new Set(n);for(const u of r)t.delete(u);return t}function l(n,r){return c(e(n,r),o(n,r))}function s(n){return n.values().next().value}function a(n){let r;for(r of n);return r}export{r as addMany,u as addMaybe,t as deleteMany,c as difference,i as equals,s as first,o as intersection,f as isSubsetOf,a as last,n as someSet,l as symmetricDifference,e as union};
