// retoor <retoor@molodetz.nl>
import "pathlib" for Path
var p1 = Path.new("/tmp")
System.print(p1.exists()) // expect: true
System.print(p1.isDir()) // expect: true
System.print(p1.isFile()) // expect: false
var p2 = Path.new("/nonexistent_path_xyz_12345")
System.print(p2.exists()) // expect: false
System.print(p2.isDir()) // expect: false
System.print(p2.isFile()) // expect: false