Throws an Exception or Error if test is true. args are those documented
for throwf.
(defn throw-if
"Throws an Exception or Error if test is true. args are those documented
for throwf."
[test & args]
(when test
(throw (throwable args))))
Comments top
No comments for throw-if. Log in to add a comment.