Skip to content

exists

fslua.exists

Usage

fslua.exists(path: string) -> boolean

Example

local fslua = require("fslua")

local dirpath = "."
local result = fslua.exists(dirpath)
print(("exists? %s"):format(tostring(result)))

🌲🌳 Tree

- main.lua
- fslua.so