path

fun path(index: Int): String?

Retrieves a specific path segment by index.

Return

The path segment at the specified index or null if not found.

Parameters

index

The index of the path segment to retrieve.