Function Directory.dirExists

Returns whether the target directory exists. The argument can be relative to the current directory, or an absolute path.

bool dirExists (
  const(String) path
) nothrow @nogc;