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

Function getRandomNumber

packages/shared/src/lib/func.ts:74–78  ·  view source on GitHub ↗
(min: number, max: number)

Source from the content-addressed store, hash-verified

72export const defaultSearchDebounceMs = 500;
73
74export const getRandomNumber = (min: number, max: number): number => {
75 const range = max - min + 1;
76
77 return Math.floor(Math.random() * range) + min;
78};
79
80export const isSpecialKeyPressed = ({
81 event,

Callers 1

TagSelection.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected