lovr.filesystem.isFile

Check if a path exists and is a file.

isFile = lovr.filesystem.isFile(path)

Arguments

NameTypeDescription
pathstring The path to check.

Returns

NameTypeDescription
isFileboolean Whether or not the path is a file.

See also