Open History to see the last commit
Defined in: packages/angular-query/src/query-resource.ts:6
Extends#
Resource<TValue>
Type Parameters#
TValue#
TValue
Properties#
Methods#
hasValue()#
Call Signature#
hasValue(this: TValue extends undefined ? QueryResource<TValue> : never): this is Resource<Exclude<TValue, undefined>>;
Defined in: node_modules/.pnpm/@angular+core@22.1.6_@angular+compiler@22.1.6_rxjs@7.8.2_zone.js@0.16.1/node_modules/@angular/core/types/_api-chunk.d.ts:186
Whether this resource has a valid current value.
This function is reactive.
Parameters#
this#
TValue extends undefined ? QueryResource<TValue> : never
Returns#
this is Resource<Exclude<TValue, undefined>>
Inherited from#
Resource.hasValue
Call Signature#
hasValue(): boolean;
Defined in: node_modules/.pnpm/@angular+core@22.1.6_@angular+compiler@22.1.6_rxjs@7.8.2_zone.js@0.16.1/node_modules/@angular/core/types/_api-chunk.d.ts:187
Returns#
boolean
Inherited from#
Resource.hasValue