randomElement L
i1 : randomElement toList (0 .. 12) o1 = 11
In the near future, this will also be the behavior of random(List).
The object randomElement is a method function.
The source of this document is in Macaulay2Doc/functions/random-doc.m2:266:0.