Liking cljdoc? Tell your friends :D

precept.spec.core


conform-or-nilclj/s

(conform-or-nil spec x)

Takes a spec and x, a collection or value to test. If x is coll, returns first item in coll that conforms to spec or nil. If x is not a collection returns x if it conforms to spec or nil.

Takes a spec and x, a collection or value to test. If x is coll, returns first item in
coll that conforms to spec or nil. If x is not a collection returns x if it conforms to spec
or nil.
sourceraw docstring

validateclj/s

(validate spec value)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close