Skip to content

Kirby 4.5.0

F::type()

Categorize the file

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

Parameters

Name Type Default Description
$file * string Either the file path or extension

Return type

string|null

Parent class

Kirby\Filesystem\F