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

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

## Parameters

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

## Returns

[`Enum`](Interface.Enum.md) \| `undefined`
