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

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

## Parameters

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

## Returns

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