Path.exists

bool exists() const @safe

Returns true if the path exists Checks if the path exists in the filesystem.

Returns

true if the path exists, false otherwise.