$file->type() Returns the file type. kirby/src/Filesystem/File.php#L562 $file->type(): string|null Return types string|ornull Parent class Kirby\Filesystem\File