Skip to content

Kirby 5.0.4

F::type()

Categorize the file

F::type(string $file): string|null

Parameters

Name Type Default Description
$filerequired string no default value Either the file path or extension

Return types

stringornull

Parent class

Kirby\Filesystem\F