The point's words: the condition once, as the view says conditions, asking.
(on: string)
| 481 | |
| 482 | /** The point's words: the condition once, as the view says conditions, asking. */ |
| 483 | function forkLabel(on: string): string { |
| 484 | const text = whenWords(on); |
| 485 | if (!text) return '?'; |
| 486 | return text.length > EDGE_LABEL_MAX ? `${text.slice(0, EDGE_LABEL_MAX - 1)}…?` : `${text}?`; |
| 487 | } |
no test coverage detected