isFileValid

open fun isFileValid(path: File): Boolean

Checks if the specified path is valid, meaning it exists or can be created, has read permissions and has write permissions

Return

true if the path is valid.

Parameters

path

File to check if is valid.