JanetDocsI'm feeling luckyGithub sign in

eachp



    macro
    boot.janet on line 506, column 1

    (eachp x ds & body)
    
    Loop over each (key, value) pair in ds. Returns nil.


1 exampleSign in to add an example
Loading...
(eachk [k v] {:a "a val" :b "b val" :c "c val"} (print k " - " v))
# prints c - c val
# prints a - a val
# prints b - b val
pepe