Liking cljdoc? Tell your friends :D
All platforms.

strojure.assertie.spec-alpha

Spec assert macro.

Spec assert macro.
raw docstring

assert-specclj/smacro

(assert-spec x spec)
(assert-spec x spec message)

Evaluates (s/assert* spec x) and throws an exception if assertion failed. Returns true to be used directly in :pre/:post conditions. Thrown exception has original spec's assert exception in a cause.

Evaluates `(s/assert* spec x)` and throws an exception if assertion failed.
Returns `true` to be used directly in :pre/:post conditions. Thrown exception
has original spec's assert exception in a cause.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close