Liking cljdoc? Tell your friends :D

ventas.utils

cljs

Random utilities

Random utilities
raw docstring

->numberclj

(->number v)
source

atom?clj

(atom? v)
source

batchclj

(batch in out max-time max-count)
source

bigdec?clj

(bigdec? x)

Return true if x is a BigDecimal. This function was already in 1.9 alphas but it was removed :(

Return true if x is a BigDecimal.
This function was already in 1.9 alphas but it was removed :(
sourceraw docstring

chan?clj

(chan? v)
source

checkclj/s

(check & args)
source (clj)source (cljs)

child?cljs

(child? element target)
source

debouncecljs

(debounce threshold f)
(debounce threshold f prep-fn)

Returns a function that will call f only after threshold has passed without new calls to the function. Calls prep-fn on the args in a sync way, which can be used for things like calling .persist on the event object to be able to access the event attributes in f

Returns a function that will call f only after threshold has passed without new calls
to the function. Calls prep-fn on the args in a sync way, which can be used for things like
calling .persist on the event object to be able to access the event attributes in f
sourceraw docstring

dequalify-keywordsclj

(dequalify-keywords m)
source

find-filesclj

(find-files path pattern)

Find files matching given pattern.

Find files matching given `pattern`.
sourceraw docstring

find-files*clj

(find-files* path pred)

Find files in path by pred.

Find files in `path` by `pred`.
sourceraw docstring

has-duplicates?clj

(has-duplicates? xs)
source

interpose-fncljs

(interpose-fn sep)
(interpose-fn sep coll)

Returns a lazy seq of the elements of coll separated by sep. Returns a stateful transducer when no collection is provided.

Returns a lazy seq of the elements of coll separated by sep.
Returns a stateful transducer when no collection is provided.
sourceraw docstring

interruptible-tryclj/smacro

(interruptible-try & body)
source

into-ncljdeprecated

source

mapmclj

(mapm f coll)
(mapm f c1 c2)
(mapm f c1 c2 c3)
(mapm f c1 c2 c3 & colls)

Like clojure.core/mapv, but creates a map

Like clojure.core/mapv, but creates a map
sourceraw docstring

ns-kwclj/smacro

(ns-kw input)

Takes a string or a keyword. Returns a keyword where the ns is the caller ns and the name is the given string, or the name of the given keyword. ClojureScript only

Takes a string or a keyword. Returns a keyword where the ns is the caller ns
and the name is the given string, or the name of the given keyword.
**ClojureScript only**
sourceraw docstring

parse-intcljs

(parse-int n)
source

qualify-keywordclj

(qualify-keyword kw ns)
source

qualify-map-keywordsclj

(qualify-map-keywords ks ns)

Qualifies the keywords used as keys in a map. Accepts a map with keywords as keys and a namespace represented as keyword.

Qualifies the keywords used as keys in a map.
Accepts a map with keywords as keys and a namespace represented as keyword.
sourceraw docstring

render-with-indexescljs

(render-with-indexes & coll)
source

spec-exists?clj

(spec-exists? v)
source

swallowclj/smacro

(swallow & body)
source

transformclj

(transform data xforms)

Applies the given transformation functions to data

Applies the given transformation functions to `data`
sourceraw docstring

update-if-existsclj

(update-if-exists thing kw update-fn)
source

value-handlercljs

(value-handler callback)
source

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

× close