Liking cljdoc? Tell your friends :D

missinterpret.flows.utils


eitherclj

(either x default)

Returns x if not nil, default otherwise.

Returns x if not nil, default otherwise.
raw docstring

excludeclj

(exclude m schema)

Returns a map which excludes all keywords from the malli schema.

Returns a map which excludes all keywords from the malli schema.
raw docstring

extractclj

(extract m schema)

Returns a map of all keywords from the malli schema

Returns a map of all keywords from the malli schema
raw docstring

merge-ifclj

(merge-if a b)

Slightly safer version of merge. Merges b into a if they are both maps. Caution - does not throw an exception if they aren't.

Slightly safer version of merge. Merges b into a if they are both maps.
Caution - does not throw an exception if they aren't.
raw docstring

only?clj

(only? m schema)

Does the argument map only contain the keys of the given schema?

Does the argument map only contain the keys of the given schema?
raw docstring

optsclj

(opts o)

Converts a seq into a map.

Intended for options to a function. i.e. [a b & opts] Handles nested options. i.e. [[:a :A]]

Throws

  • If arg is not a seq
  • If 'root' vector does not conform to missinterpret.flows.spec/Options spec.
Converts a seq into a map.

 Intended for options to a function. i.e. [a b & opts]
 Handles nested options. i.e. [[:a :A]]

Throws
 - If arg is not a seq
 - If 'root' vector does not conform to missinterpret.flows.spec/Options
   spec.
raw docstring

set-nsclj

(set-ns m nspace & {:keys [keep-qualified]})

Sets the namespace of the top-level keys of the map to the argument ns.

Sets the namespace of the top-level keys of the map to the argument ns.
raw docstring

try-put-all!clj

(try-put-all! sink arg-seq timeout return-val)

Takes a sequence argument and

Takes a sequence argument and 
raw docstring

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

× close