JanetDocsPlaygroundI'm feeling luckyGitHub sign in

eachp



    macro
    boot.janet on line 518, column 1

    (eachp x ds & body)

    Loop over each (key, value) pair in `ds`. Returns nil.


1 exampleSign in to add an example
Loading...
(eachp [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
pepePlayground