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 builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close