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

Function isResolved

packages/core/src/resource/resource.ts:585–587  ·  view source on GitHub ↗
(state: ResourceStreamItem<T>)

Source from the content-addressed store, hash-verified

583}
584
585function isResolved<T>(state: ResourceStreamItem<T>): state is {value: T} {
586 return (state as {error: unknown}).error === undefined;
587}
588
589/**
590 * Creates a debug name object for an internal signal.

Callers 3

constructorMethod · 0.85
saveToTransferStateFunction · 0.85
projectStatusOfStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…