Open History to see the last commit
1---
2id: DefinedInfiniteQueryNarrowing
3title: DefinedInfiniteQueryNarrowing
4---
5β
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7β
8Defined in: [packages/angular-query/src/types.ts:183](https://github.com/TanStack/query/blob/main/packages/angular-query/src/types.ts#L183)
9β
10Signal-backed guards for a paginated query whose initial data excludes the pending state.
11β
12## Type Parameters
13β
14### TData
15β
16`TData` = `unknown`
17β
18### TError
19β
20`TError` = [`DefaultError`](../type-aliases/DefaultError.md)
21β
22## Properties
23β
24| Property | Type | Description |
25| ------ | ------ | ------ |
26| <a id="property-iserror"></a> `isError` | `SignalFunction`\<(`this`: [`DefinedCreateInfiniteQueryResult`](../type-aliases/DefinedCreateInfiniteQueryResult.md)\<`TData`, `TError`\>) => `this is DefinedCreateInfiniteQueryResult<TData, TError, InfiniteQueryObserverRefetchErrorResult<TData, TError>>`\> | Returns whether the result failed and narrows its data and error signals. |
27| <a id="property-ispending"></a> `isPending` | `SignalFunction`\<(`this`: [`DefinedCreateInfiniteQueryResult`](../type-aliases/DefinedCreateInfiniteQueryResult.md)\<`TData`, `TError`\>) => `this is never`\> | Narrows the result to the pending state when that state is possible. |
28| <a id="property-issuccess"></a> `isSuccess` | `SignalFunction`\<(`this`: [`DefinedCreateInfiniteQueryResult`](../type-aliases/DefinedCreateInfiniteQueryResult.md)\<`TData`, `TError`\>) => `this is DefinedCreateInfiniteQueryResult<TData, TError, InfiniteQueryObserverSuccessResult<TData, TError>>`\> | Returns whether the result is successful and narrows its data and error signals. |