(check-spec value spec)
(check-spec value spec message)
Takes a value and a key for a spec, throw an exception if value doesn't match the spec, otherwise return passed value
Takes a value and a key for a spec, throw an exception if value doesn't match the spec, otherwise return passed value
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close