(key)
| 102 | * @returns {RuntimeSpec} runtime(s) |
| 103 | */ |
| 104 | const keyToRuntime = (key) => { |
| 105 | if (key === class="st">"*") return; |
| 106 | const items = key.split(class="st">"\n"); |
| 107 | if (items.length === 1) return items[0]; |
| 108 | return new SortableSet(items); |
| 109 | }; |
| 110 | |
| 111 | /** |
| 112 | * Gets runtimes string. |