/**
 * Determine if the given path is readable.
 *
 * @return bool Returns TRUE if the given path exists and is readable, FALSE otherwise.
 */
public function isReadable(): bool

Examples

if ($filesystem->file('/foo/1.txt')->isReadable()) {
    // do something...
}

Getting Started

Methods

Filesystem
File
Directory