toAbsolutePath

Converts the receiver path into an absolute path, if it wasn't one already.


Converts the receiver Path or String into an absolute path, if it wasn't one already.

Throws

if the receiver is neither a Path nor a String.