Version: v0.7.1 - Beta.  We welcome contributors & feedback.

List.shuffle

shuffle() -> list

Description

Randomize the order of items.

['a', 'b', 'c', 'd', 'e'].shuffle()
//= ['d', 'a', 'c', 'e', 'b']

See Also