(item)
| 373 | } |
| 374 | |
| 375 | function itemToString (item) { |
| 376 | if (item) { |
| 377 | return `${item.name} x ${item.count}` |
| 378 | } else { |
| 379 | return '(nothing)' |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | function itemByType (items, type) { |
| 384 | let item |
no outgoing calls
no test coverage detected
searching dependent graphs…