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

---
```ts
isListOperation(program, target): boolean
```

Returns `true` if the given operation is marked as a list operation.

## Parameters

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

## Returns

`boolean`
