MCPcopy Index your code
hub / github.com/angular/angular / hasValue

Method hasValue

packages/core/src/resource/api.ts:122–122  ·  view source on GitHub ↗

* Whether this resource has a valid current value. * * This function is reactive.

(this: T extends undefined ? this : never)

Source from the content-addressed store, hash-verified

120 * This function is reactive.
121 */
122 hasValue(this: T extends undefined ? this : never): this is Resource<Exclude<T, undefined>>;
123
124 hasValue(): boolean;
125}

Callers 5

resource_spec.tsFile · 0.65
sFunction · 0.65
validateAsyncFunction · 0.65
VersionManagerClass · 0.65

Implementers 1

SnapshotResourcepackages/core/src/resource/from_snapsh

Calls

no outgoing calls

Tested by 1

sFunction · 0.52