Skip to content

Tankōbon / lib/continue-reading / continueReading

Function: continueReading() ​

continueReading(library, count?): LibraryEntry[]

Defined in: lib/continue-reading.ts:18

The books to pick up again: the most recently opened ones that were started (past the first page) and are not finished. A book only added to the library has an opening date too, but was never read, hence the currentPage test. library is in the store's order (most recently opened first), which is kept.

Parameters ​

library ​

LibraryEntry[]

count? ​

number = CONTINUE_READING_COUNT

Returns ​

LibraryEntry[]