$file->isViewable() Checks if a preview can be displayed for the file in the panel or in the frontend kirby/src/Filesystem/File.php#L267 $file->isViewable(): bool Return type bool Parent class Kirby\Filesystem\File