cljs.spec.test.alpha/check-fn

macropreviously cljs.spec.test/check-fnEdit
(check-fn f spec)
(check-fn f spec opts)

Source docstring:
Runs generative tests for fn f using spec and opts. See
'check' for options and return.
Source code @ clojurescript:src/main/cljs/cljs/spec/test/alpha.cljc
(defmacro check-fn
  ([f spec]
   `(check-fn ~f ~spec nil))
  ([f spec opts]
   `(let [opts# ~opts]
      (validate-check-opts opts#)
      (check-1 nil ~f ~spec opts#))))