[F] getRoutePath
function getRoutePath(program, entity): RoutePath | undefined;Reads the target’s declared route fragment and, for operations, its shared-route flag.
Returns undefined when no nonempty route is stored; does not prepend containing routes.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | Program |
entity | Operation | Namespace | Interface |
Returns
Section titled “Returns”RoutePath | undefined