jsketcher/web/app/sketcher/selectionMatcher.js
Val Erastov (xibyte) 2fafec904c polynomial analysis
2020-01-07 00:17:20 -08:00

26 lines
No EOL
273 B
JavaScript

export function SelectionMatcher() {
const lowerBounds = [];
return {
moreThan(amount, type) {
lowerBounds.push(amount, type);
return this;
},
match: selection => {
for (let [amount, type] of lowerBounds) {
}
}
}
}