---
jsApi: true
title: "[F] getRouteOptionsForNamespace"

---
```ts
getRouteOptionsForNamespace(program, namespace): RouteOptions | undefined
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `namespace` | `Namespace` |

## Returns

[`RouteOptions`](Interface.RouteOptions.md) \| `undefined`
