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

---
```ts
getResourceLocationType(program, entity): Model | undefined
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `entity` | `Scalar` |

## Returns

`Model` \| `undefined`
