Skip to content

Kirby 4.2.0

$file->type()

Returns the file type.

$file->type(): string|null

Return type

string|null

Parent class

Kirby\Filesystem\File