isRooted

JVM
1.0
val File.isRooted: Boolean

Determines whether this file has a root or it represents a relative path.

Returns true when this file has non-empty root.