isWritePermissionSet

fun isWritePermissionSet(fileOrDirectory: Path): Boolean
fun isWritePermissionSet(fileOrDirectory: String): Boolean
fun isWritePermissionSet(fileOrDirectory: File): Boolean

Check the given file or directory for write-permission.

Return

true if write-permissions are set.

Author

Griefed

Parameters

fileOrDirectory

File or directory.