Type Utils
Preparing search index...
helpers
pickRandom
Function pickRandom
pickRandom
<
T
>
(
from
:
T
[]
)
:
T
Picks a random element from an array and removes it from the array
Type Parameters
T
Parameters
from
:
T
[]
Returns
T
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Type Utils
Loading...
Picks a random element from an array and removes it from the array