MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / loop

Function loop

__tests__/ui-steps-program.test.ts:31–33  ·  view source on GitHub ↗

A loop the site is written inside.

(text: string, kind: SiteLoop['kind'] = 'each', branch = `l:${text}`)

Source from the content-addressed store, hash-verified

29
30/** A loop the site is written inside. */
31function loop(text: string, kind: SiteLoop['kind'] = 'each', branch = `l:${text}`): SiteLoop {
32 return { text, kind, branch };
33}
34
35/** A site that folds into a helper. */
36function into(fn: string, guards: BranchGuard[] = [], extra: Partial<ProgramSite> = {}): ProgramSite {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected