FileExists

Checks if the given file exists.

FileExists(file) : true | false

Example

Checks if the file test.lua exists in the scripts directory.

local exists = FileExists('scripts/test.lua')