isFileSync method

bool isFileSync()

Returns true if the path exists on disk and is pointing at a regular file. Does not follow links.

Implementation

bool isFileSync() => platform.isFileSync(string);