Liking cljdoc? Tell your friends :D

spec-coerce.alpha


and-coercerclj/s

(and-coercer specs opts)
source

boolean-coercerclj/s

source

coerceclj/s

(coerce coercer-or-spec x)
(coerce coercer-or-spec x opts)
source

Coercerclj/s≠protocol

-coerceclj/s

(-coerce _ x)
source

coercerclj/s

(coercer spec)
(coercer spec {:keys [f] :as opts})

Returns a coercer for spec.

spec can be everything which is accepted by s/valid? or s/conform.

opts can be:

  • :coerce-coll-kinds - whether collections should be converted into specified types as per :kind in s/every, s/every-kv, s/coll-of or s/map-of. Defaults to false
Returns a coercer for `spec`.

`spec` can be everything which is accepted by `s/valid?` or `s/conform`.

opts can be:
 * :coerce-coll-kinds - whether collections should be converted into specified
                        types as per `:kind` in `s/every`, `s/every-kv`,
                        `s/coll-of` or `s/map-of`. Defaults to false
sourceraw docstring

coercer?clj/s

(coercer? x)
source

coll-of-coercerclj

(coll-of-coercer
  {:keys [spec] {:keys [kind min-count]} :opts}
  {:keys [coerce-coll-types] :or {coerce-coll-types false} :as opts})
source

double-coercerclj/s

source

fn-coercerclj/s

(fn-coercer args body)
source

identity-coercerclj/s

source

int-coercerclj/s

source

keys-coercerclj

(keys-coercer {:keys [req req-un opt-un] :as args} {:keys [f] :as opts})
source

map-coercerclj/s

source

merge-coercerclj/s

(merge-coercer specs opts)
source

multi-spec-coercerclj

(multi-spec-coercer {mm-sym :mm} opts)
source

nat-int-coercerclj/s

source

or-coercerclj/s

(or-coercer tagged-preds opts)
source

pos-coercerclj/s

source

pos-int-coercerclj/s

source

pred-coercerclj/smultimethod

source

set-coercerclj/s

(set-coercer set {:keys [f]})
source

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

× close