VINDICTA.TOP
Filesystem · Function
Bunni.fun
ChocoSploit
Cryptic
Potassium
Seliware
SirHurt
Solara
Velocity
Volcano
Volt
Wave
Xeno

isfile

Returns whether a path points to a file.

function isfile(pathpathstringPath to check.: string): booleanbooleantrue if a file exists at path.

Usage

Conditional read
if isfile("config.json") then
	local cfg = readfile("config.json")
end