isCancel function
Whether a hook result is a `cancel()`.
import { isCancel } from '@dioramajs/diorama/core'function isCancel(value: unknown): value is CancelParameters
| Name | Type | Description |
|---|---|---|
value | unknown |
Also exported from @dioramajs/core.
Defined in packages/core/src/kernel/hooks.ts.