The comma-separated entries of a list's inside, nested brackets kept whole.
(text: string)
| 1483 | |
| 1484 | /** The comma-separated entries of a list's inside, nested brackets kept whole. */ |
| 1485 | function topLevelEntries(text: string): string[] { |
| 1486 | return topLevelItems(text).filter(Boolean); |
| 1487 | } |
| 1488 | |
| 1489 | /** The same, an empty entry kept for each hole: `[, second]` is `['', 'second']`. */ |
| 1490 | function topLevelItems(text: string): string[] { |
no test coverage detected