MCPcopy Create free account
hub / github.com/Effect-TS/effect / randomShuffle

Method randomShuffle

packages/effect/src/Crypto.ts:143–143  ·  view source on GitHub ↗

* Uses the cryptographically secure random generator to shuffle the supplied * iterable.

(elements: Iterable<A>)

Source from the content-addressed store, hash-verified

141 * iterable.
142 */
143 randomShuffle<A>(elements: Iterable<A>): Effect.Effect<Array<A>>
144
145 /**
146 * Generates a cryptographically secure UUIDv4 string.

Callers 1

Crypto.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected