lovr.filesystem.isFile

Check if a path exists and is a file.

isFile = lovr.filesystem.isFile(path)

Arguments

NameTypeDescription
pathstringThe path to check.

Returns

NameTypeDescription
isFilebooleanWhether or not the path is a file.

See also