cljs.spec/every-kv

MOVED, please see cljs.spec.alpha/every-kv
macroremoved v1.9.542added v1.9.85Edit
(every-kv kpred vpred & opts)

Source docstring:
like 'every' but takes separate key and val preds and works on associative collections.

Same options as 'every', :into defaults to {}

See also - map-of
Source code @ clojurescript:src/main/cljs/cljs/spec.cljc
(defmacro every-kv
  [kpred vpred & opts]
  (let [desc `(every-kv ~(res &env kpred) ~(res &env vpred) ~@(res-kind &env opts))]
    `(every (tuple ~kpred ~vpred) ::kfn (fn [i# v#] (nth v# 0)) :into {} ::describe '~desc ~@opts)))