isReadPermissionSet

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

Check the given file or directory for read-permission.

Return

true if read-permissions are set.

Author

Griefed

Parameters

fileOrDirectory

File or directory.