Synchronously check if a file exists.

Example

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

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

Location

Namespace
Fuse.FileSystem
Package
Fuse.FileSystem 1.9.0

Returns

Boolean

true if file exists, false if not