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

Function patternABBB

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

Source from the content-addressed store, hash-verified

21}
22
23export function patternABBB(digits: string[], rng: () => number): string {
24 const [A, B] = utils.pickTwoDifferentDigits(digits, rng)
25 return utils.fromDigits([A, B, B, B])
26}
27
28export function patternAABC(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