Path.exists

bool exists() const @safe

Checks if the path exists in the filesystem.

Returns

true if the path exists, false otherwise.