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