Function existsAsFile

Checks if the path exists as a file.

bool existsAsFile (
  const(string) path
) @trusted;

bool existsAsFile (
  const(Path) path
) @trusted;

This is like std.file.isFile, but returns false instead of throwing if the path doesn't exist.