Skeudenn / lib/library-editions / collapseEditions
Function: collapseEditions() ​
collapseEditions(
entries,groups):LibraryEntry[]
Defined in: src/lib/library-editions.ts:56
entries with each book of groups kept once: its first entry in the list stands for it, the other formats are left out. The order is kept.
Parameters ​
entries ​
readonly LibraryEntry[]
groups ​
ReadonlyMap<string, LibraryEntry[]>