Skip to content

Kirby 6.0.1

$file->type()

Returns the file type.

$file->type(): string|null

Return types

stringornull

Parent class

Kirby\Filesystem\File