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

---
```ts
getKnownValues(program, target): Enum | undefined
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | [`Program`](../interfaces/Program.md) |
| `target` | [`ModelProperty`](../interfaces/ModelProperty.md) \| [`Scalar`](../interfaces/Scalar.md) |

## Returns

[`Enum`](../interfaces/Enum.md) \| `undefined`
