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

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

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | [`Program`](Interface.Program.md) |
| `target` | [`Type`](Type.Type.md) |

## Returns

[`ModelIndexer`](Type.ModelIndexer.md) \| `undefined`
