lovr.filesystem.isDirectory

Check if a path exists and is a directory.

isDirectory = lovr.filesystem.isDirectory(path)

Arguments

NameTypeDescription
pathstring The path to check.

Returns

NameTypeDescription
isDirectoryboolean Whether or not the path is a directory.

See also