fileWritable

check if a file path is writable or protected

Syntax

fileWritable(filepath)

Returns

returns (bool) true on success

Parameters

filepath (string)
path to file