ClojureDocs

Nav

Namespaces

rand-int

clojure.core

Available since 1.0 (source)
  • (rand-int n)
Returns a random integer between 0 (inclusive) and n (exclusive).