Contains utility function
Contains utility function
(get-with-fallback-key m k fallback-key)
get-wfk => get-with-fallback-key Given a map, key & a fallback-key, It'll look up the key in the given map, if found returns its result. Else it'll return the result of the fallback-key. If the fallback-key is also not found it'll throw an error.
get-wfk => get-with-fallback-key Given a map, key & a fallback-key, It'll look up the key in the given map, if found returns its result. Else it'll return the result of the fallback-key. If the fallback-key is also not found it'll throw an error.
(rand-int-range max-count)
(rand-int-range min-count max-count)
Generates a random number between [min-count,max-count]
Generates a random number between [min-count,max-count]
(slurp-resource filename)
Given a filename in resource directory, it'll read the contents of that filename.
Given a filename in resource directory, it'll read the contents of that filename.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close