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

Function patternAAABBB

src/patterns6.ts:13–16  ·  view source on GitHub ↗
(digits: string[], rng: () => number)

Source from the content-addressed store, hash-verified

11}
12
13export function patternAAABBB(digits: string[], rng: () => number): string {
14 const [A, B] = utils.pickTwoDifferentDigits(digits, rng)
15 return utils.fromDigits([A, A, A, B, B, B])
16}
17
18export function patternABBABB(digits: string[], rng: () => number): string {
19 const [A, B] = utils.pickTwoDifferentDigits(digits, rng)

Callers

nothing calls this directly

Calls 2

fromDigitsMethod · 0.80

Tested by

no test coverage detected