check-var
functionv1.9
cljs.spec.test/check-var
(check-var [v & opts])Checks a var's specs using test.check. Optional args are
passed through to test.check/quick-check:
num-tests number of tests to run, default 100
seed random seed
max-size how large an input to generate, max 200
reporter-fn reporting fn
Returns a map as quick-check, with :explain-data added if
:result is false.
Examples
No examples yet. Be the first to add one!