MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / randomInt

Function randomInt

apps/web/src/scripts/usage/lib/generate-mock-usage.ts:67–69  ·  view source on GitHub ↗
(min: number, max: number)

Source from the content-addressed store, hash-verified

65};
66
67function randomInt(min: number, max: number): number {
68 return Math.floor(Math.random() * (max - min + 1)) + min;
69}
70
71/**
72 * Populate each lookup table with its pool of values (idempotent via

Callers 3

randomHourOfDayFunction · 0.70
generateOneRecordFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected