Skip to main content

and

macrov1.9

cljs.spec.alpha/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.

No examples yet. Be the first to add one!