method
Path.Segment
Segment returns segment index without copying the path.
Arguments
| Argument | Type | Description |
|---|---|---|
index | int | The index value. |
Returns
The declared result.
stringFull signature
Related types
PathAn immutable, validated document field path.