Liking cljdoc? Tell your friends :D

malli.provider


-decodedclj/s

(-decoded {:keys [values]} vp t)
source

-hintedclj/s

(-hinted x hint)
source

-inferrerclj/s

(-inferrer options)
source

-map-schemaclj/s

(-map-schema {tc :count :as stats}
             schema
             {:keys [:malli.provider/infer :malli.provider/map-of-threshold]
              :or {map-of-threshold 3}
              :as options})
source

-preferencesclj/s

source

-safe?clj/s

(-safe? f & args)
source

-schemaclj/s

(-schema stats)
(-schema {:keys [types] :as stats}
         {:keys [:malli.provider/value-decoders] :as options})
source

-sequential-schemaclj/s

(-sequential-schema
  {tc :count :as stats}
  type
  schema
  {:keys [:malli.provider/infer :malli.provider/tuple-threshold] :as options})
source

-value-hintclj/s

(-value-hint x)
source

-value-schemaclj/s

(-value-schema {:keys [schemas hints] :as stats})
source

Hintedclj/s

source

provideclj/s

(provide xs)
(provide xs options)

Given an sequence of example values, returms a Schema that can all values are valid against. For better performance, user provider instead. see provider for available options.

Given an sequence of example values, returms a Schema that can all values are valid against.
For better performance, user [[provider]] instead. see [[provider]] for available options.
sourceraw docstring

providerclj/s

(provider)
(provider options)

Returns a inferring function of values -> schema. Supports the following options:

  • `:malli.provider/map-of-threshold (default 3), how many identical value schemas need for :map-of
  • `:malli.provider/tuple-threshold, how many identical value schemas need for :tuple
  • :malli.provider/value-decoders, function oftype -> target-type -> value -> decoded-value`
Returns a inferring function of `values -> schema`. Supports the following options:

- `:malli.provider/map-of-threshold (default 3), how many identical value schemas need for :map-of
- `:malli.provider/tuple-threshold, how many identical value schemas need for :tuple
- `:malli.provider/value-decoders, function of `type -> target-type -> value -> decoded-value`
sourceraw docstring

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

× close