Skip to content

Kirby 4.5.0

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