@bitbeater/ecma-utils - v2.9.0
Preparing search index...
collection
pickRandomElement
Function pickRandomElement
pickRandomElement
<
T
>
(
array
:
T
[]
)
:
T
Returns a random element from the provided array.
Type Parameters
T
Parameters
array
:
T
[]
Returns
T
a random element from the provided array.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@bitbeater/ecma-utils - v2.9.0
Loading...
Returns a random element from the provided array.