isHidden

inline fun Path.isHidden(): Boolean(source)

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.

Since Kotlin

1.5

See also