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

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

## Parameters

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

## Returns

`string`[] \| `undefined`
