and
macrov1.9
cljs.spec/and
(and [& pred-forms])Takes predicate/spec-forms, e.g.
(s/and even? #(< % 42))
Returns a spec that returns the conformed value. Successive
conformed values propagate through rest of predicates.
Examples
No examples yet. Be the first to add one!