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

---
```ts
getActionSeparator(program, entity): string | undefined
```

## Parameters

| Parameter | Type | Description |
| :------ | :------ | :------ |
| `program` | `Program` | the TypeSpec program |
| `entity` | `Type` | the target entity |

## Returns

`string` \| `undefined`

the action separator string
