🐛 fix bug in json.cpp & add std/argparse.nas

This commit is contained in:
ValKmjolnir
2023-12-07 00:04:41 +08:00
parent a83cba3c3a
commit b56732a2a1
26 changed files with 115 additions and 16 deletions
+2
View File
@@ -1,6 +1,8 @@
# utils.nas
# 2023 by ValKmjolnir
use std.math;
# when count can be divided exactly by times, return true
var times_trigger = func(times, count) {
return math.mod(times, count)==0;
}