lovr.filesystem.isDirectory

Check if a path exists and is a directory.

isDirectory = lovr.filesystem.isDirectory(path)

Arguments

NameTypeDescription
pathstringThe path to check.

Returns

NameTypeDescription
isDirectorybooleanWhether or not path is a directory.

See also