public static get(filename as String) as Path:
Resolves an existing filesystem path and returns a typed path instance.
| Parameter | Description |
|---|---|
filename | Existing file or folder path. |
FilePath if the target is a file, FolderPath if it is a folder, otherwise a raw Path when the target does not exist yet.