Skeudenn / shared/comic / comicFormat
Function: comicFormat() ​
comicFormat(
path):"CBZ"|"CBR"|"PDF"|null
Defined in: src/shared/comic.ts:57
The format of the comic at path, read from its extension (case-insensitive), or null for an unsupported one. It is derived rather than stored: the extension is what picks the decoder.
Parameters ​
path ​
string
Returns ​
"CBZ" | "CBR" | "PDF" | null