MCPcopy Create free account
hub / github.com/BabylonSocial/babylon / shuffleArray

Function shuffleArray

packages/engine/src/utils/randomization.ts:46–58  ·  view source on GitHub ↗
(
  array: T[],
  rng: RngFunction = Math.random
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

generateEventCascadeMethod · 0.90
generateAmbientFeedMethod · 0.90
generateRepliesMethod · 0.90
generateRepostsMethod · 0.90
generateThreadMethod · 0.90
selectNewsOrgsMethod · 0.90
selectOrgsForStageMethod · 0.90
selectOrgsForArcEventMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…