Skeudenn / main/services/bedetheque / pickSeries
Function: pickSeries() ​
pickSeries(
candidates,text):BedethequeSeries|null
Defined in: src/main/services/bedetheque.ts:315
The series that is the one asked for: the name equal to the text (accents and case ignored), else the shortest name starting with it, else the shortest containing it. A translation of a series (Blacksad (en allemand)) only wins when nothing else matches; null when no name contains the text.
Parameters ​
candidates ​
text ​
string
Returns ​
BedethequeSeries | null