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

---
```ts
getNameAtVersion(
   p, 
   t, 
   versionKey): string
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `p` | `Program` |
| `t` | `Type` |
| `versionKey` | `ObjectType` |

## Returns

`string`

get old name if applicable.
