rune-langium / core/src / fromIndex
Function: fromIndex()
ts
function fromIndex<T>(map): T[];Defined in: packages/core/src/collections/index-by-id.ts:13
Derive the value array from an id→item Map (insertion order).
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
map | ReadonlyMap<string, T> |
Returns
T[]