(items: readonly T[])
| 263 | |
| 264 | const cap = opts.perSection ?? Number.POSITIVE_INFINITY; |
| 265 | const take = <T>(items: readonly T[]): T[] => |
| 266 | Number.isFinite(cap) ? items.slice(0, cap) : [...items]; |
| 267 | const sections: PaletteSection[] = []; |
| 268 | |
| 269 | if (entries.routes.routed && entries.routes.items.items.length > 0) { |
no outgoing calls
no test coverage detected