Skip to content

Kirby 4.4.1

F::mime()

Returns the mime type of a file

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

Parameters

Name Type Default
$file * string

Return type

string|null

Parent class

Kirby\Filesystem\F