(accept-spec-wrapper dispatch spec children {:keys [custom-scalars] :as opts})
We use this function to intercept calls to 'accept-spec' and skip certain specs (e.g. where they are custom scalars)
We use this function to intercept calls to 'accept-spec' and skip certain specs (e.g. where they are custom scalars)
(make-optional-fields fields spec)
(make-optional-fields fields opt opt-un)
These symbols can be used to wrap types when using st/spec
, e.g. (st/spec my-date-pred? {:type '(custom :date)})
. They only exist separately to provide semantic information - it's not asserted anywhere that the types they reference ever exist anywhere so USE WITH CAUTION.
These symbols can be used to wrap types when using `st/spec`, e.g. `(st/spec my-date-pred? {:type '(custom :date)})`. They only exist separately to provide semantic information - it's not asserted anywhere that the types they reference ever exist anywhere so USE WITH CAUTION.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close