IOTConnect-Web/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.js

8 lines
240 B
JavaScript
Raw Normal View History

2024-05-09 01:49:52 +00:00
export const createAddUniqueNumber = (generateUniqueNumber) => {
return (set) => {
const number = generateUniqueNumber(set);
set.add(number);
return number;
};
};
//# sourceMappingURL=add-unique-number.js.map