MCPcopy Create free account
hub / github.com/PaulleDemon/PyUIBuilder / randomArrayChoice

Function randomArrayChoice

src/utils/random.js:3–5  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

1
2
3export function randomArrayChoice(arr){
4 return arr[Math.floor(Math.random() * arr.length)];
5}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected