The d routine

Combined from primary sources listed below.

In class IO::Path ( Type/IO/Path )§

See primary docmentation in context for method d.

method d§

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

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

In class IO::Special ( Type/IO/Special )§

See primary docmentation in context for method d.

method d§

method d(IO::Special:D: --> False)

The 'directory' file test operator, always returns False.