A loop the site is written inside.
(text: string, kind: SiteLoop['kind'] = 'each', branch = `l:${text}`)
| 29 | |
| 30 | /** A loop the site is written inside. */ |
| 31 | function 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. */ |
| 36 | function into(fn: string, guards: BranchGuard[] = [], extra: Partial<ProgramSite> = {}): ProgramSite { |
no outgoing calls
no test coverage detected