isfolder

Determines if the specified path is a folder.

function isfolder(path: string): boolean

Parameter

  • path - The path to check.


Example

writefile("file7.txt", "")
makefolder("folder2")
print(isfolder("file7.txt")) -- Output: false
print(isfolder("folder2")) -- Output: true

Last updated