cljs.spec.test.alpha/instrument-1

macropreviously cljs.spec.test/instrument-1Edit
(instrument-1 [quote s] opts)

Source code @ clojurescript:src/main/cljs/cljs/spec/test/alpha.cljc
(defmacro instrument-1
  [[quote s] opts]
  (when-let [v (ana-api/resolve &env s)]
    (when (and (nil? (:const v))
               #?(:cljs (nil? (:macro v))))
      (swap! instrumented-vars conj (:name v))
      `(let [checked# (instrument-1* '~s (var ~s) ~opts)]
         (when checked# (set! ~s checked#))
         '~(:name v)))))