Liking cljdoc? Tell your friends :D

faker.util

Contains utility function

Contains utility function
raw docstring

get-with-fallback-keyclj

(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.
raw docstring

rand-int-rangeclj

(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]
raw docstring

slurp-resourceclj

(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.
raw docstring

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

× close