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

---
```ts
getVersionForEnumMember(program, member): Version | undefined
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `member` | `EnumMember` |

## Returns

[`Version`](../interfaces/Version.md) \| `undefined`
