Documentation
Preparing search index...
@alexaegis/common
index
shuffleArray
Function shuffleArray
shuffleArray
<
T
>
(
array
:
T
[]
)
:
T
[]
Randomizes the placement of elements within an array, shuffling it.
It mutates the input array!
Type Parameters
T
Parameters
array
:
T
[]
Returns
T
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Randomizes the placement of elements within an array, shuffling it.
It mutates the input array!