Skip to content

makefolder

makefolder creates a folder at the specified path if one does not already exist.

This is useful for organising files into separate directories.

function makefolder(path: string): ()

Parameters

Parameter Description
path The folder path to create.

Example

Creating a new folder
makefolder("test_folder")
print(isfolder("test_folder")) -- Output: true