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

---
```ts
getSummary(program, type): string | undefined
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | [`Program`](Interface.Program.md) |
| `type` | [`Type`](Type.Type.md) |

## Returns

`string` \| `undefined`
