@hazae41/bobine 0.0.22 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/mods/worker/bin.js +6 -0
- package/package.json +1 -1
package/out/mods/worker/bin.js
CHANGED
|
@@ -273,6 +273,12 @@ function run(module, method, params, mode, maxsparks) {
|
|
|
273
273
|
neq: (left, right) => {
|
|
274
274
|
return left !== right;
|
|
275
275
|
},
|
|
276
|
+
min: (left, right) => {
|
|
277
|
+
return left < right ? left : right;
|
|
278
|
+
},
|
|
279
|
+
max: (left, right) => {
|
|
280
|
+
return left > right ? left : right;
|
|
281
|
+
},
|
|
276
282
|
from_base16: (text) => {
|
|
277
283
|
return BigInt("0x" + text);
|
|
278
284
|
},
|