Random generator for array objects.
let value1 = RandomArray.pick([1, 2, 3, 4]); // Possible result: 3
Picks a random element from specified array.
an array of any type
a randomly picked item.
Generated using TypeDoc
Random generator for array objects.
Example
let value1 = RandomArray.pick([1, 2, 3, 4]); // Possible result: 3