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