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

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

## Parameters

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

## Returns

[`Version`](Interface.Version.md) \| `undefined`
