Skip to content

Tankōbon / lib/library-editions / editionGroups

Function: editionGroups() ​

editionGroups(entries): Map<string, LibraryEntry[]>

Defined in: lib/library-editions.ts:33

The books that exist in at least two formats, as a map from the id of each of their entries to all the editions of the book (one entry per format, in library order, the entry itself included). Two files of the same format are not editions of each other: both stay separate books.

Parameters ​

entries ​

readonly LibraryEntry[]

Returns ​

Map<string, LibraryEntry[]>