Skip to content

randomItem<T>(array, ...hashArgs): T

Type Parameters ​

T ​

T

Parameters ​

array ​

readonly T[]

hashArgs ​

...unknown[]

Returns ​

T

Released under the MIT License with love.