Liking cljdoc? Tell your friends :D

dgknght.app-lib.core


->sequentialclj/s

(->sequential x)
source

assoc-ifclj/s

(assoc-if m k v)

Performs an assoc if the specified value is not nil.

Performs an assoc if the specified value is not nil.
sourceraw docstring

assoc-unlessclj/s

(assoc-unless m k v)

Performs an assoc unless the map already contains the key

Performs an assoc unless the map already contains the key
sourceraw docstring

boolean-valuesclj/s

source

conj-to-lastclj/s

(conj-to-last lists x)

Given a list of lists, conjs the value x onto the last (as identified by the fn pop) inner list of the outer list

Given a list of lists, conjs the value x onto the last (as identified by the fn pop) inner list of the outer list
sourceraw docstring

deep-contains?clj/s

(deep-contains? data k)

Given a data structure, returns a boolean value indicating whether or not the structure contains that specified key at any level of nesting.

Given a data structure, returns a boolean value indicating whether
or not the structure contains that specified key at any level of nesting.
sourceraw docstring

deep-dissocclj/s

(deep-dissoc data k)

Given a data structure, returns the same structure with the first found instance of the specified key removed

Given a data structure, returns the same structure with the
first found instance of the specified key removed
sourceraw docstring

deep-getclj/s

(deep-get data k)

Given a data structure, returns the value of the first found instance of the specified key.

Given a data structure, returns the value of the first found
instance of the specified key.
sourceraw docstring

deep-update-in-ifclj/s

(deep-update-in-if data k f)

Given a data structure, returns the same structure with the value at the first instance of the specified key updated with the given function.

Given a data structure, returns the same structure with the
value at the first instance of the specified key updated with
the given function.
sourceraw docstring

ensure-stringclj/s

(ensure-string v)
source

fmaxclj/s

(fmax f maximum)

Given a function that returns a number, ensure that the result is never more than the specified value

Given a function that returns a number, ensure that the result
is never more than the specified value
sourceraw docstring

fminclj/s

(fmin f minimum)

Given a function that returns a number, ensure that the result is never less than the specified value

Given a function that returns a number, ensure that the result
is never less than the specified value
sourceraw docstring

fscalarclj/s

(fscalar f)

Given a function that expects something sequential as the first argument, returns a function that, if passed something that isn't sequential, creates a new vector, adds the first arg to it, then applies the function

Given a function that expects something sequential as the first argument,
returns a function that, if passed something that isn't sequential, creates a new
vector, adds the first arg to it, then applies the function
sourceraw docstring

index-byclj/s

(index-by key-fn coll)
source

mkstrclj/s

(mkstr base length)

Creates a new string be repeating the specifed based the specified number of times

Creates a new string be repeating the specifed
based the specified number of times
sourceraw docstring

parse-boolclj/s

(parse-bool value)
source

parse-decimalclj/s

source

parse-floatclj/s

source

parse-intclj/s

source

present?clj/s

(present? v)
source

prune-toclj/smultimethod

source

safe-nthclj/s

(safe-nth col index)
source

traceclj/s

(trace msg)
source

update-in-ifclj/s

(update-in-if m k-path f & args)

Performs an update-in if the key already exists in the map.

Performs an update-in if the key already exists in the map.
sourceraw docstring

uuidclj/s

(uuid)
(uuid value)
source (clj)source (cljs)

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

× close