Open History to see the last commit
Defined in: packages/angular-query/src/types.ts:183
Signal-backed guards for a paginated query whose initial data excludes the pending state.
Type Parameters#
TData#
TData = unknown
TError#
TError = DefaultError
Properties#
| Property | Type | Description |
|---|---|---|
isError | SignalFunction<(this: DefinedCreateInfiniteQueryResult<TData, TError>) => this is DefinedCreateInfiniteQueryResult<TData, TError, InfiniteQueryObserverRefetchErrorResult<TData, TError>>> | Returns whether the result failed and narrows its data and error signals. |
isPending | SignalFunction<(this: DefinedCreateInfiniteQueryResult<TData, TError>) => this is never> | Narrows the result to the pending state when that state is possible. |
isSuccess | SignalFunction<(this: DefinedCreateInfiniteQueryResult<TData, TError>) => this is DefinedCreateInfiniteQueryResult<TData, TError, InfiniteQueryObserverSuccessResult<TData, TError>>> | Returns whether the result is successful and narrows its data and error signals. |