key-value for loops

This commit is contained in:
2020-12-07 18:38:22 -07:00
parent 0b8d1a00e1
commit b28a39250d
2 changed files with 15 additions and 5 deletions

View File

@@ -346,4 +346,6 @@
=>"found" "me"])
(Assert.equals "you" (dict-get myMap "hey"))
(Assert.equals "me" (dict-get myMap "found"))
)
(doFor =>key value myMap
(Assert.isTrue (<= 0 (.indexOf ["hey" "found"] key)))
(Assert.isTrue (<= 0 (.indexOf ["you" "me"] value)))))