MCPcopy Create free account
hub / github.com/dailydotdev/apps / between

Function between

packages/shared/src/features/patchy/patchyIdle.ts:73–74  ·  view source on GitHub ↗
([min, max]: [number, number])

Source from the content-addressed store, hash-verified

71const GLANCE_THROTTLE_MS = 3000;
72
73const between = ([min, max]: [number, number]) =>
74 min + Math.random() * (max - min);
75
76interface UsePatchyIdleProps {
77 isEnabled: boolean;

Callers 2

blinkLoopFunction · 0.70
actionLoopFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected