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

---
```ts
getAllTags(program, target): string[] | undefined
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | [`Program`](../interfaces/Program.md) |
| `target` | [`Interface`](../interfaces/Interface.md) \| [`Namespace`](../interfaces/Namespace.md) \| [`Operation`](../interfaces/Operation.md) |

## Returns

`string`[] \| `undefined`
