mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-10 02:13:58 +01:00
26 lines
No EOL
273 B
JavaScript
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) {
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
} |