Skip to content

Tankōbon / lib/second-chance / pickRandomLowRated

Function: pickRandomLowRated() ​

pickRandomLowRated(entries, count?, random?): LibraryEntry[]

Defined in: lib/second-chance.ts:30

A random selection of poorly rated books: count books drawn among all those rated LOW_RATING_MAX or less, worst first.

Parameters ​

entries ​

readonly LibraryEntry[]

count? ​

number = SECOND_CHANCE_LIMIT

random? ​

() => number

Returns ​

LibraryEntry[]