(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.
(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 RuntimeException 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 RuntimeException instead of Error.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close