cljs.spec.alpha/check-asserts

functionpreviously cljs.spec/check-assertsEdit
(check-asserts flag)

Source docstring:
Enable or disable spec asserts that have been compiled
with '*compile-asserts*' true.  See 'assert'.
Initially set to boolean value of cljs.spec.alpha/*runtime-asserts*.
Defaults to false.
Source code @ clojurescript:src/main/cljs/cljs/spec/alpha.cljs
(defn check-asserts
  [^boolean flag]
  (set! *runtime-asserts* flag))