MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / isRLCFormDataInput

Function isRLCFormDataInput

out/cli.cjs:77323–77325  ·  view source on GitHub ↗
(body)

Source from the content-addressed store, hash-verified

77321 }
77322 return { body: JSON.stringify(body) };
77323 }
77324}
77325function isRLCFormDataValue(value) {
77326 return typeof value === "string" || value instanceof Uint8Array || // We don't do `instanceof Blob` since we should also accept polyfills of e.g. File in Node.
77327 typeof value.stream === "function";
77328}

Callers 1

getRequestBodyFunction · 0.85

Calls 2

isRLCFormDataValueFunction · 0.85
valuesMethod · 0.45

Tested by

no test coverage detected