Defined in: packages/angular-query/src/types.ts:121
Signal-backed guards for a query whose initial data excludes the pending state.
TData = unknown
TError = DefaultError
| Property | Type | Description |
|---|
| isError | SignalFunction<() => this is DefinedCreateQueryResult<TData, TError, QueryObserverRefetchErrorResult<TData, TError>>> | Returns whether the result failed and narrows its data and error signals. |
| isPending | SignalFunction<() => this is never> | Narrows the result to the pending state when that state is possible. |
| isSuccess | SignalFunction<() => this is DefinedCreateQueryResult<TData, TError, QueryObserverSuccessResult<TData, TError>>> | Returns whether the result is successful and narrows its data and error signals. |