Tankōbon / shared/file-name-template / fillFileNameTemplate
Function: fillFileNameTemplate()
fillFileNameTemplate(
template,values):string
Defined in: shared/file-name-template.ts:40
template with each field replaced by its value: {series} - T{volume} - {title} gives Tintin - T20 - Tintin au Tibet. The result isn't made safe for the file system: the caller does it.
Parameters
template
string
values
Record<FileNameField, string>
Returns
string