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

Function patternABBABB

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

fromDigitsMethod · 0.80

Tested by

no test coverage detected