cljs.spec/assert*

MOVED, please see cljs.spec.alpha/assert*
functionremoved v1.9.542added v1.9.216Edit
(assert* spec x)

Source docstring:
Do not call this directly, use 'assert'.
Source code @ clojurescript:src/main/cljs/cljs/spec.cljs
(defn assert*
  [spec x]
  (if (valid? spec x)
    x
    (let [ed (c/merge (assoc (explain-data* spec [] [] [] x)
                        ::failure :assertion-failed))]
      (throw (js/Error.
              (str "Spec assertion failed\n" (with-out-str (explain-out ed))))))))