MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / hasBody

Method hasBody

src.ts/utils/fetch.ts:258–260  ·  view source on GitHub ↗

* Returns true if the request has a body.

()

Source from the content-addressed store, hash-verified

256 * Returns true if the request has a body.
257 */
258 hasBody(): this is (FetchRequest & { body: Uint8Array }) {
259 return (this.#body != null);
260 }
261
262 /**
263 * The HTTP method to use when requesting the URI. If no method

Callers 3

methodMethod · 0.95
fetchMethod · 0.45
createProviderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected