MCPcopy Create free account
hub / github.com/activejs/activejs / randomNumsAndStrings

Function randomNumsAndStrings

packages/core/src/tests/utils.ts:174–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172}
173
174export function randomNumsAndStrings(): (string | number)[] {
175 return multipleOf(randomNumOrStr);
176}
177
178// increased truthiness range: {0, 1}, or negative for decreased truthiness
179export function randomBoolean(truthiness = 0): boolean {

Callers 1

selection.spec.tsFile · 0.90

Calls 1

multipleOfFunction · 0.85

Tested by

no test coverage detected