JanetDocsPlaygroundI'm feeling luckyGitHub sign in

os/mkdir



    cfunction
    src/core/os.c on line 1519, column 1

    (os/mkdir path)

    Create a new directory. The path will be relative to the current 
    directory if relative, otherwise it will be an absolute path. 
    Returns true if the directory was created, false if the directory 
    already exists, and errors otherwise.


1 exampleSign in to add an example
Loading...
(os/mkdir "templates")
# => creates ./templates directory
pepePlayground