MCPcopy
hub / github.com/Effect-TS/effect / shuffle

Method shuffle

packages/effect/src/Random.ts:56–56  ·  view source on GitHub ↗

* Uses the pseudo-random number generator to shuffle the specified iterable.

(elements: Iterable<A>)

Source from the content-addressed store, hash-verified

54 * Uses the pseudo-random number generator to shuffle the specified iterable.
55 */
56 shuffle<A>(elements: Iterable<A>): Effect.Effect<Chunk.Chunk<A>>
57}
58
59/**

Callers 5

Random.test.tsFile · 0.65
racing.test.tsFile · 0.65
zipping.test.tsFile · 0.65
shuffleFunction · 0.65
shuffleFunction · 0.65

Implementers 3

RandomImplpackages/effect/src/internal/random.ts
FixedRandomImplpackages/effect/src/internal/random.ts
TRandomImplpackages/effect/src/internal/stm/tRand

Calls

no outgoing calls

Tested by

no test coverage detected