getParent

@Nullable
open fun getParent(): @Nullable RelativePath(source)

Returns the parent of this path.

Return

The parent of this path, or null if this is the root path.