Skip to content

Kirby 4.4.1

$asset->type()

Returns the file type

$asset->type(): string|null

Return type

string|null

Parent class

Kirby\Filesystem\Asset