Public Vars

Back

rand-nth (clj)

(source)

function

(rand-nth coll)
Return a random element of the (sequential) collection. Will have the same performance characteristics as nth for the given collection.

Examples