coll-of
macrov1.9
cljs.spec/coll-of
(coll-of [pred & opts])Returns a spec for a collection of items satisfying pred. Unlike
generator will fill an empty init-coll.
Same options as 'every'. conform will produce a collection
corresponding to :into if supplied, else will match the input collection,
avoiding rebuilding when possible.
Same options as 'every'.
See also - every, map-of
Examples
No examples yet. Be the first to add one!