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

Function patternABCABC

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

Source from the content-addressed store, hash-verified

21}
22
23export function patternABCABC(digits: string[], rng: () => number): string {
24 const [A, B, C] = utils.pickThreeDifferentDigits(digits, rng)
25 return utils.fromDigits([A, B, C, A, B, C])
26}
27
28export function patternABCCBA(digits: string[], rng: () => number): string {
29 const [A, B, C] = utils.pickThreeDifferentDigits(digits, rng)

Callers

nothing calls this directly

Calls 2

fromDigitsMethod · 0.80

Tested by

no test coverage detected