Skip to main content

test

functionv1.7

cljs.core/test

Available in:BBCLJCLJS
(test [v])
test [v] - if var, finds fn at key :test in var metadata, if function, finds special test property. Calls it, presuming failure will throw exception. Examples: (test my-fn) ;; :ok (test #'my-fn) ;; :ok

No examples yet. Be the first to add one!