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

---
```ts
getVersionsForEnum(program, en): [Namespace, VersionMap] | []
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `en` | `Enum` |

## Returns

[`Namespace`, [`VersionMap`](Class.VersionMap.md)] \| []
