In IO::Path§

See primary documentation in context for method rwx

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

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