return
function
clojure.test.check.generators/return
(return [value])Creates a generator that always returns `value`,
and never shrinks. You can think of this as
the `constantly` of generators. E.g.:
(gen/sample (gen/return 42))
=> (42 42 42 42 42 42 42 42 42 42)
Examples
No examples yet. Be the first to add one!