endsWith
Determines whether this file path ends with the path of other file.
If other is rooted path it must be equal to this. If other is relative path then last N components of this
must be the same as all components in other, where N is the number of components in other.
Since Kotlin
1.0Return
true
if this path ends with other path, false
otherwise.
Determines whether this file belongs to the same root as other and ends with all components of other in the same order. So if other has N components, last N components of this
must be the same as in other. For relative other, this
can belong to any root.
Since Kotlin
1.0Return
true
if this path ends with other path, false
otherwise.