Flowdock
method

sample

Importance_1
sample(p1) public

Choose a random element, or the random n elements, from the array. If the array is empty, the first form returns nil, and the second form returns an empty array.

Show source
Register or log in to add new notes.