Skip to content

[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.

ParameterType
programProgram
entityOperation | Namespace | Interface

RoutePath | undefined