MCPcopy Index your code
hub / github.com/TeaCoder52/patcode / patternAAAB

Function patternAAAB

src/patterns4.ts:18–21  ·  view source on GitHub ↗
(digits: string[], rng: () => number)

Source from the content-addressed store, hash-verified

16}
17
18export function patternAAAB(digits: string[], rng: () => number): string {
19 const [A, B] = utils.pickTwoDifferentDigits(digits, rng)
20 return utils.fromDigits([A, A, A, B])
21}
22
23export function patternABBB(digits: string[], rng: () => number): string {
24 const [A, B] = utils.pickTwoDifferentDigits(digits, rng)

Callers

nothing calls this directly

Calls 2

fromDigitsMethod · 0.80

Tested by

no test coverage detected