Open History to see the last commit
1---
2id: BaseInfiniteQueryNarrowing
3title: BaseInfiniteQueryNarrowing
4---
5β
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7β
8Defined in: [packages/angular-query/src/types.ts:138](https://github.com/TanStack/query/blob/main/packages/angular-query/src/types.ts#L138)
9β
10Signal-backed guards that narrow a paginated query result by its current status.
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`: [`CreateInfiniteQueryResult`](../type-aliases/CreateInfiniteQueryResult.md)\<`TData`, `TError`\>) => `this is CreateInfiniteQueryResult<TData, TError, CreateStatusBasedInfiniteQueryResult<"error", TData, TError>>`\> | Returns whether the result failed and narrows its data and error signals. |
27| <a id="property-ispending"></a> `isPending` | `SignalFunction`\<(`this`: [`CreateInfiniteQueryResult`](../type-aliases/CreateInfiniteQueryResult.md)\<`TData`, `TError`\>) => `this is CreateInfiniteQueryResult<TData, TError, CreateStatusBasedInfiniteQueryResult<"pending", TData, TError>>`\> | Narrows the result to the pending state when that state is possible. |
28| <a id="property-issuccess"></a> `isSuccess` | `SignalFunction`\<(`this`: [`CreateInfiniteQueryResult`](../type-aliases/CreateInfiniteQueryResult.md)\<`TData`, `TError`\>) => `this is CreateInfiniteQueryResult<TData, TError, CreateStatusBasedInfiniteQueryResult<"success", TData, TError>>`\> | Returns whether the result is successful and narrows its data and error signals. |