Garden 🌻

Path::exists()

Return True if this path exists.

Example
Path{ p: "/" }.exists() //-> True
Path{ p: "/no_such_file" }.exists() //-> False

Note that a path may exist without the current user having permission to read it. This function still returns True in that situation.

Source Code
public method exists(this: Path): Bool {
  __BUILT_IN_IMPLEMENTATION
}