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

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

## Parameters

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

## Returns

`string` \| `undefined`
