Liking cljdoc? Tell your friends :D

dev.jaide.valhalla.context


accretecljs

(accrete ctx value)
(accrete ctx key value)

Used after a successful validation or parse, stores the updated value and builds the output shape

Used after a successful validation or parse, stores the updated value and
builds the output shape
sourceraw docstring

append-pathcljs

(append-path ctx path)
source

clear-errorscljs

(clear-errors ctx)
source

createcljs

(create &
        {:keys [value path errors input output]
         :or {input :dev.jaide.valhalla.context/unset
              path []
              errors []
              value :dev.jaide.valhalla.context/unset
              output :dev.jaide.valhalla.context/unset}})
source

get-incljs

(get-in d ks)

Helper function to navigate various cljs and js objects recursively. It is more resilient than the native get-in.

Throws an error if a data type can't be navigated.

Arguments:

  • d - Data to navigate
  • ks - Vector or strings or keywords to recurse into

Returns the value at the end of the path

Helper function to navigate various cljs and js objects recursively. It is
more resilient than the native get-in.

Throws an error if a data type can't be navigated.

Arguments:
- d - Data to navigate
- ks - Vector or strings or keywords to recurse into

Returns the value at the end of the path
sourceraw docstring

path<cljs

(path< ctx)
source

path>cljs

(path> ctx path)
source

raise-errorcljs

(raise-error ctx err)
source

raise-errorscljs

(raise-errors ctx errors)
source

replace-pathcljs

(replace-path ctx path)
(replace-path ctx idx path)
source

unset?cljs

(unset? v)
source

update-outputcljs

(update-output ctx output)
source

update-pathcljs

(update-path ctx path)
source

update-valuecljs

(update-value ctx value)
source

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

× close