$file->isReadable()

Checks if the file is readable

  • return (boolean)

Example

<?php if($page->file()->isReadable()): ?>
The file is readable
<?php endif ?>

Is something missing or incorrect? Edit this page on Github…