kotlin-stdlib / kotlin.io / java.io.File / isRooted isRooted JVM 1.0 val File . isRooted : Boolean (source) Determines whether this file has a root or it represents a relative path. Returns true when this file has non-empty root.