Skeudenn / shared/title-parsing / splitSeriesTitle
Function: splitSeriesTitle() ​
splitSeriesTitle(
full):object
Defined in: src/shared/title-parsing.ts:28
Splits a full book title into series, volume and the book's own title, when it has an explicit volume marker: "Astérix - Tome 3 - Astérix et les Goths", "Naruto, Vol. 1". Without one, the whole text is the title and the series is unknown.
Parameters ​
full ​
string
Returns ​
object
series ​
series:
string|null
title ​
title:
string
volume ​
volume:
string|null