Skip to content

Kirby 4.4.1

$visitor->acceptsMimeType()

Checks if the user accepts the given mime type

$visitor->acceptsMimeType(string $mimeType): bool

Parameters

Name Type Default
$mimeType * string

Return type

bool

Parent class

Kirby\Http\Visitor