Skeudenn / lib/reading-list / nextToRead
Function: nextToRead() ​
nextToRead(
entries,excludeId?):LibraryEntry|null
Defined in: src/lib/reading-list.ts:68
The book to read next: the first unfinished one, in list order. excludeId skips a book, the one just finished in the reader, whose progress may not be saved yet. Null when all are read.
Parameters ​
entries ​
excludeId? ​
string
Returns ​
LibraryEntry | null