mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-20 01:28:45 +08:00
🐛 fix bug in json.cpp & add std/argparse.nas
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user