Skip to content

Skeudenn / main/services/bedetheque / pickSeriesAll

Function: pickSeriesAll() ​

pickSeriesAll(candidates, text): BedethequeSeries[]

Defined in: src/main/services/bedetheque.ts:329

The series to look in: pickSeries's choice, plus the other series that are just as good a match. Homonyms differ only by the qualifier the site adds in parentheses (Tutti Frutti (Stakhano), Tutti Frutti (Trantkat)), so when the best match is the exact name (with or without such a qualifier) every series of that rank is returned, up to MAX_HOMONYMS (3); a looser match (a name that merely starts with or contains the text) gives its single best series, not a crowd.

Parameters ​

candidates ​

BedethequeSeries[]

text ​

string

Returns ​

BedethequeSeries[]