(s: string)
| 89 | /** `from`/`to` are screen paths, or a `function:` id for an origin. */ |
| 90 | function link(from: string, to: string, when = '', over: Partial<WireScreenLink> = {}): WireScreenLink { |
| 91 | const id = (s: string): string => (s.startsWith('function:') ? s : R(s)); |
| 92 | return { |
| 93 | id: `l${seq++}`, |
| 94 | from: id(from), |