← Docs
kotlin-stdlib / kotlin.io.path / java.nio.file.Path / isHidden

isHidden

JVM
JRE7
1.5
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.

See Also

Files.isHidden

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .