Preparing search index...
The search index is not available
common-stuff
common-stuff
shuffle
Function shuffle
shuffle
<
T
>
(
array
)
:
ReadonlyArray
<
T
>
Shuffles the the array.
Type Parameters
T
Parameters
array
:
readonly
T
[]
Returns
ReadonlyArray
<
T
>
Example
shuffle
([
1
,
2
,
3
])
// [2, 1, 3]
Copy
shuffle
<
T
>
(
array
)
:
T
[]
Type Parameters
T
Parameters
array
:
T
[]
Returns
T
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
common-stuff
Loading...
Shuffles the the array.