Skip to content

Kirby 4.4.1

$file->isViewable()

Checks if a preview can be displayed for the file in the panel or in the frontend

$file->isViewable(): bool

Return type

bool

Parent class

Kirby\Filesystem\File