Synchronously check if a file exists.

Example

var FileSystem = require("FuseJS/FileSystem");

console.log(FileSystem.existsSync("myfile.txt") ? "It's there!" : "It's missing :/");

Location

Namespace
Fuse.FileSystem
Package
Fuse.FileSystem 2.9.1

Returns

Boolean

true if file exists, false if not