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