Array module.
- Source:
Methods
-
<static> shuffled(array) → {array}
-
Shuffle an array.
Parameters:
Name Type Description arrayarray Array to shuffle.
- Source:
Returns:
- Shuffled array.
- Type
- array
-
<static> toArray(iteratable)
-
Convert an iteratable to an array.
Parameters:
Name Type Description iteratableobject Iteratable object.(Like arguments);
- Source: