MCPcopy
hub / github.com/millsp/ts-toolbelt / entry

Function entry

sources/Iteration/_Internal.ts:19–19  ·  view source on GitHub ↗
(i: number)

Source from the content-addressed store, hash-verified

17 const next = (i: number) => `"${i === max ? '__' : i + 1}"`
18 const oppo = (i: number) => `"${i * -1}"`
19 const entry = (i: number) => `"${i}": [${i}, ${sign(i)}, ${prev(i)}, ${next(i)}, ${oppo(i)}],`
20
21 console.log(`{${entry(min)}`)
22

Callers 1

IterationOfGeneratorFunction · 0.85

Calls 4

signFunction · 0.85
prevFunction · 0.85
nextFunction · 0.85
oppoFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…