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

Method hasBody

lib.esm/utils/fetch.js:199–201  ·  view source on GitHub ↗

* Returns true if the request has a body.

()

Source from the content-addressed store, hash-verified

197 * Returns true if the request has a body.
198 */
199 hasBody() {
200 return (this.#body != null);
201 }
202 /**
203 * The HTTP method to use when requesting the URI. If no method
204 * has been explicitly set, then ``GET`` is used if the body is

Callers 3

methodMethod · 0.95
fetchMethod · 0.45
createProviderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected