- Index
- »
- io
- »
- func:ioCreate
def
func:ioCreate
ioCreate(handle)
Create a directory or empty file with the given I/O handle. If creating a file that already exists, it is overwritten as empty.
Examples:
ioCreate(`io/new-dir/`) // create new empty directory ioCreate(`io/new-file.txt`) // create new empty file