Skip to main content

for-all*

function

clojure.test.check.properties/for-all*

(for-all* [args function])
A function version of `for-all`. Takes a sequence of N generators and a function of N args, and returns a property that calls the function with generated values and tests the return value for truthiness, like with `for-all`. Example: (for-all* [gen/large-integer gen/large-integer] (fn [a b] (>= (+ a b) a)))

No examples yet. Be the first to add one!