ClojureDocs

导航

命名空间

rand-int

clojure.core

自 1.0 起提供 (源代码)
  • (rand-int n)
Returns a random integer between 0 (inclusive) and n (exclusive).