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

---
```ts
getIndexer(program, target): ModelIndexer | undefined
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | [`Program`](../interfaces/Program.md) |
| `target` | [`Type`](../type-aliases/Type.md) |

## Returns

[`ModelIndexer`](../type-aliases/ModelIndexer.md) \| `undefined`
