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

---
```ts
getResourceTypeKey(program, resourceType): ResourceKey | undefined
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `resourceType` | `Model` |

## Returns

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