DirectoryIsWriteable Function

Tests whether or not a directory can be written to by creating a temporary writeable file in that directory. If the file is successfully created the directory is deemed to be writeable

Arguments

Number Type Compulsory Default Description
1 string Yes Directory to test

Returns

Return type: real

1 if directory is writeable otherwise 0