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

---
```ts
getAvailabilityMapInTimeline(
  program,
  type,
  timeline): Map< TimelineMoment, Availability > | undefined
```

## Parameters

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

## Returns

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