Function: buildSegmentPattern()
Function: buildSegmentPattern()
function buildSegmentPattern(constraint?): string;
Builds a path segment pattern based on a route segment constraint.
Parameters
constraint?
Partial
<RouteSegmentConstraint
>
Partial route segment constraint for path matching.
Returns
string
A string representing the path pattern.