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

---
```ts
getResourceTypeForKeyParam(program, param): Model | undefined
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `param` | `ModelProperty` |

## Returns

`Model` \| `undefined`
