Skip to content

Kirby 4.2.0

$image->type()

Returns the file type.

$image->type(): string|null

Return type

string|null

Parent class

Kirby\Image\Image inherited from Kirby\Filesystem\File