kotlin.io.java.io.File.startsWith

startsWith

fun File.startsWith(other: File): Boolean

Platform and version requirements: JVM

fun File.startsWith(other: String): Boolean

Platform and version requirements: JVM

Determines whether this file belongs to the same root as other and starts with all components of other in the same order. So if 登录查看完整内容