(either x default)
Returns x if not nil, default otherwise.
Returns x if not nil, default otherwise.
(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.
(extract m schema)
Returns a map of all keywords from the malli schema
Returns a map of all keywords from the malli schema
(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.
(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?
(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
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.
(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.
(try-put-all! sink arg-seq timeout return-val)
Takes a sequence argument and
Takes a sequence argument and
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close