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

---
```ts
getOperationVerb(program, entity): HttpVerb | undefined
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `entity` | `Type` |

## Returns

[`HttpVerb`](../type-aliases/HttpVerb.md) \| `undefined`
