isReadonly

open fun isReadonly(): Boolean

Returns whether the file is read-only. If the property@File:location is null, returns false.

To have an up-to-date value, you must first call method@File.check_file_on_disk.

Return

whether the file is read-only.