(list)
| 1 | function list2map(list) { |
| 2 | if (list) { |
| 3 | return Object.fromEntries(list.map((e) => [e.name, e])); |
| 4 | } else { |
| 5 | return {}; |
| 6 | } |
| 7 | } |
| 8 | |
| 9 | function isGraph(config, name) { |
| 10 | return config.graphs.hasOwnProperty(name); |
no outgoing calls
no test coverage detected