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

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

## Parameters

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

## Returns

`string`[] \| `undefined`
