lovr.filesystem.isDirectory
EditCheck if a path exists and is a directory.
isDirectory = lovr.filesystem.isDirectory(path)Arguments
| Name | Type | Description |
| path | string | The path to check. |
Returns
| Name | Type | Description |
| isDirectory | boolean | Whether or not the path is a directory. |