UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

23 lines (19 loc) 530 B
import { InternSet } from '../../internmap/src/index.js'; function intersection(values, ...others) { values = new InternSet(values); others = others.map(set); out: for (const value of values) { for (const other of others) { if (!other.has(value)) { values.delete(value); continue out; } } } return values; } function set(values) { return values instanceof InternSet ? values : new InternSet(values); } export { intersection as default }; //# sourceMappingURL=intersection.js.map