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

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

## Parameters

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

## Returns

[`ResourceKey`](Interface.ResourceKey.md) \| `undefined`
