Liking cljdoc? Tell your friends :D
Clojure only.

house.jux--.check--


checkcljmacro

(check form & otherwise-msg-fragments)

Check if the given form is truthy, otherwise throw an exception with the given message. Alternative to assert that cannot be turned off and throwing RuntimeException instead of Error.

Check if the given form is truthy, otherwise throw an exception with
the given message. Alternative to `assert` that cannot be turned off
and throwing RuntimeException instead of Error.
raw docstring

check-expectedcljmacro

(check-expected form & otherwise-msg-fragments)

Check if the given form is truthy, otherwise throw an 'expected' exception with the given message. Alternative to assert that cannot be turned off and throwing ex-info instead of Error.

Check if the given form is truthy, otherwise throw an 'expected'
exception with the given message. Alternative to `assert` that
cannot be turned off and throwing ex-info instead of Error.
raw 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