cljs.spec.alpha/explain-data*

functionpreviously cljs.spec/explain-data*Edit
(explain-data* spec path via in x)

Source code @ clojurescript:src/main/cljs/cljs/spec/alpha.cljs
(defn explain-data* [spec path via in x]
  (when-let [probs (explain* (specize spec) path via in x)]
    (when-not (empty? probs)
      {::problems probs
       ::spec spec
       ::value x})))