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

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

## Parameters

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

## Returns

`boolean`

## Deprecated

Use `isListOperation` in `@typespec/rest` instead.
