expressions now support dict data-type

This commit is contained in:
2024-04-21 14:24:56 +02:00
parent b28d6a8f02
commit 323308d86f
9 changed files with 160 additions and 9 deletions
+5
View File
@@ -26,6 +26,11 @@ func isList(v any) (ok bool) {
return ok
}
func isDict(v any) (ok bool) {
_, ok = v.(map[any]any)
return ok
}
func isNumber(v any) (ok bool) {
return isFloat(v) || isInteger(v)
}