Liking cljdoc? Tell your friends :D

dataimitator.helper.utils


random-alphanumericclj

(random-alphanumeric length)
source

random-choiceclj

(random-choice coll)

Selects a random element from a given collection.

Selects a random element from a given collection.
sourceraw docstring

random-in-rangeclj

(random-in-range lower upper)

Generates a random integer between lower and upper bounds (inclusive).

Generates a random integer between lower and upper bounds (inclusive).
sourceraw docstring

random-intclj

(random-int)

Generates a random integer between -128 and 127 (inclusive).

Generates a random integer between -128 and 127 (inclusive).
sourceraw docstring

random-intsclj

(random-ints n max)
source

random-long-in-rangeclj

(random-long-in-range lower upper)

Generates a random integer between lower and upper bounds (inclusive).

Generates a random integer between lower and upper bounds (inclusive).
sourceraw docstring

random-stringclj

(random-string length charset)

Generates a random string of the specified length from a given character set.

Generates a random string of the specified length from a given character set.
sourceraw docstring

random-withclj

(random-with bound)

Generates a random integer with the given bound. Throws an exception if the bound is non-positive.

Generates a random integer with the given bound. Throws an exception if the bound is non-positive.
sourceraw docstring

random-with-maxclj

(random-with-max max)

Generates a random integer between 0 (inclusive) and max (exclusive).

Generates a random integer between 0 (inclusive) and max (exclusive).
sourceraw docstring

shuffle-collclj

(shuffle-coll coll)

Randomly shuffles the elements of a collection.

Randomly shuffles the elements of a collection.
sourceraw docstring

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

× close