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

Function patternAABC

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

Source from the content-addressed store, hash-verified

26}
27
28export function patternAABC(digits: string[], rng: () => number): string {
29 const [A, B, C] = utils.pickThreeDifferentDigits(digits, rng)
30 return utils.fromDigits([A, A, B, C])
31}
32
33export function patternABBC(digits: string[], rng: () => number): string {
34 const [A, B, C] = utils.pickThreeDifferentDigits(digits, rng)

Callers

nothing calls this directly

Calls 2

fromDigitsMethod · 0.80

Tested by

no test coverage detected