Preparing search index...
The search index is not available
atomic-fns
atomic-fns
random
choice
Function choice
choice
<
T
>
(
arr
:
T
[]
)
:
T
Returns the item at some random index in a sequence.
Returns
Type Parameters
T
Parameters
arr:
T
[]
Returns
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Modules
atomic-
fns
collections
decimal
functools
globals
i18n
itertools
math
operators
random
string
choice
random
random
Int
sample
shuffle
Generated using
TypeDoc
Returns the item at some random index in a sequence.
Returns