Documentation for method r assembled from the following pages:

Class: IO::Path §

From IO::Path

(IO::Path) method r §

Defined as:

method r(IO::Path:D: --> Bool:D)

Returns True if the invocant is a path that exists and is accessible. The method will fail with X::IO::DoesNotExist if the path points to a non-existent filesystem entity.

Class: IO::Special §

From IO::Special

(IO::Special) method r §

method r(IO::Special:D: --> Bool)

The 'read access' file test operator, returns True if and only if this instance represents the standard input handle(<STDIN>).