Open History to see the last commit
1---
2id: isCancelRequestedReason
3title: isCancelRequestedReason
4---
5
6```ts
7function isCancelRequestedReason(reason): boolean;
8```
9
10Defined in: packages/ai/src/activities/chat/cancel.ts:33
11
12Whether an abort reason means "the user explicitly cancelled this run".
13
14## Parameters
15
16### reason
17
18`string` \| `undefined`
19
20## Returns
21
22`boolean`