Liking cljdoc? Tell your friends :D

malli.instrument


-filter-nsclj

(-filter-ns & ns)
source

-filter-schemaclj

(-filter-schema f)
source

-filter-varclj

(-filter-var f)
source

-find-varclj

(-find-var n s)
source

-originalclj

(-original v)
source

-sequentialclj

(-sequential x)
source

-strument!clj

(-strument!)
(-strument! {:keys [mode data filters gen]
             :or {mode :instrument data (m/function-schemas)}
             :as options})
source

collect!clj

(collect!)
(collect! {:keys [ns]})

Reads all public Vars from a given namespace(s) and registers a function (var) schema if :malli/schema metadata is present. The following metadata key can be used:

keydescription
:malli/schemafunction schema
:malli/scopeoptional set of scope definitions, defaults to #{:input :output}
:malli/reportoptional side-effecting function of key data -> any to report problems, defaults to m/-fail!
:malli/genoptional value true or function of schema -> schema -> value to be invoked on the args to get the return value
Reads all public Vars from a given namespace(s) and registers a function (var) schema if `:malli/schema`
metadata is present. The following metadata key can be used:

| key             | description |
| ----------------|-------------|
| `:malli/schema` | function schema
| `:malli/scope`  | optional set of scope definitions, defaults to `#{:input :output}`
| `:malli/report` | optional side-effecting function of `key data -> any` to report problems, defaults to `m/-fail!`
| `:malli/gen`    | optional value `true` or function of `schema -> schema -> value` to be invoked on the args to get the return value
sourceraw docstring

instrument!clj

(instrument!)
(instrument! options)

Applies instrumentation for a filtered set of function Vars (e.g. defns). See malli.core/-instrument for possible options.

Applies instrumentation for a filtered set of function Vars (e.g. `defn`s).
See [[malli.core/-instrument]] for possible options.
sourceraw docstring

unstrument!clj

(unstrument!)
(unstrument! options)

Removes instrumentation from a filtered set of function Vars (e.g. defns). See malli.core/-instrument for possible options.

Removes instrumentation from a filtered set of function Vars (e.g. `defn`s).
See [[malli.core/-instrument]] for possible options.
sourceraw docstring

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

× close