File.readOnly

Get readOnly property.

class File
@property
bool
readOnly
()

Return Value

Type: bool

Whether the file is read-only or not. The value of this property is not updated automatically (there is no file monitors).