isHidden

JVM
JRE7
1.5
fun Path.isHidden(): Boolean

Checks if the file located by this path is considered hidden.

This check is dependant on the current filesystem. For example, on UNIX-like operating systems, a path is considered hidden if its name begins with a dot. On Windows, file attributes are checked.

See Also

Files.isHidden