MCPcopy Create free account
hub / github.com/angular/angular / ok

Method ok

packages/service-worker/worker/testing/fetch.ts:197–199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195 readonly trailer: Promise<Headers> = Promise.resolve(new MockHeaders());
196 readonly headers: Headers = new MockHeaders();
197 get ok(): boolean {
198 return this.status >= 200 && this.status < 300;
199 }
200 readonly status: number;
201 readonly statusText: string;
202 readonly type: ResponseType = 'basic';

Callers 15

expand_globsFunction · 0.80
describeFunction · 0.80
to_metadataFunction · 0.80
read_dirFunction · 0.80
try_poll_receiverMethod · 0.80
get_metadata_for_fileMethod · 0.80
read_resourceMethod · 0.80
load_resourceMethod · 0.80
resolve_with_oxcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected