MCPcopy Create free account
hub / github.com/denoland/std / getRand

Function getRand

random/integer_between_test.ts:78–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 () => {
77 const prng = randomSeeded(1n);
78 const getRand = () => randomIntegerBetween(-0.001, 1.999, { prng });
79 const length = 1000;
80 const results = Array.from({ length }, () => getRand());
81

Callers 1

Calls 1

randomIntegerBetweenFunction · 0.90

Tested by

no test coverage detected