Skip to content

Tankōbon / shared/comic / comicFormat

Function: comicFormat() ​

comicFormat(path): "CBZ" | "CBR" | "PDF" | null

Defined in: 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