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

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

## Parameters

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

## Returns

[`RouteOptions`](../interfaces/RouteOptions.md) \| `undefined`
