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

---
```ts
getFriendlyName(program, target): string
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | [`Program`](../interfaces/Program.md) |
| `target` | [`Type`](../type-aliases/Type.md) |

## Returns

`string`
