Skeudenn / shared/file-name-template / prefixVolume
Function: prefixVolume() ​
prefixVolume(
volume,prefix,numericOnly):string
Defined in: src/shared/file-name-template.ts:64
volume with prefix in front (T and 7 give T7). An empty volume stays empty, so it is still left out of the name; with numericOnly, only a plain whole number gets the prefix (HS and 12.1 stay as they are).
Parameters ​
volume ​
string
prefix ​
string
numericOnly ​
boolean
Returns ​
string