cljs.spec/unstrument

macroremoved v1.9.183added v1.9.14Edit
(unstrument v)

Source docstring:
Undoes instrument on the var at v, a var or symbol. Idempotent.
Source code @ clojurescript:src/main/cljs/cljs/spec.cljc
(defmacro unstrument
  [v]
  (let [v   (if-not (seq? v) (list 'var v) v)
        sym (second v)]
    `(do
       (when-let [raw# (cljs.spec/unstrument* ~v)]
         (set! ~sym raw#))
       ~v)))