fileExists function

bool fileExists(
  1. String file
)

Returns whether file exists on the file system.

This returns true for a symlink only if that symlink is unbroken and points to a file.

Implementation

bool fileExists(String file) => File(file).existsSync();