makefolder

Creates a folder at the specified path if it doesn't already exist.

function makefolder(path: string): ()

Parameter

  • path - The location where you want to create the folder.


Example

makefolder("folder")
print(isfolder("folder")) -- Output: true

Last updated