Skip to content

Kirby 5.0.4

$file->isReadable()

Check if the file can be read by the current user

$file->isReadable(): bool

Return type

bool

This method modifies the existing $file object it is applied to and returns it again.

Parent class

Kirby\Cms\File