Lodash.sampleSize

Gets n random elements at unique keys from collection up to the size of collection.

struct Lodash
nothrow @trusted @safe ref
sampleSize
(
T = Any
)
(
auto ref T n = T.init
)

Return Value

Type: auto ref

- Lodash chained on (Array): the random elements.

Meta