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

---
```ts
getAvailabilityMap(program, type): Map<string, Availability> | undefined
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `type` | `Type` |

## Returns

`Map`<`string`, [`Availability`](../enumerations/Availability.md)\> \| `undefined`
