MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / stringToUint8Array

Function stringToUint8Array

out/cli.cjs:74950–74952  ·  view source on GitHub ↗
(value, format)

Source from the content-addressed store, hash-verified

74948var isWebWorker = typeof self === "object" && typeof (self === null || self === void 0 ? void 0 : self.importScripts) === "function" && (((_a3 = self.constructor) === null || _a3 === void 0 ? void 0 : _a3.name) === "DedicatedWorkerGlobalScope" || ((_b = self.constructor) === null || _b === void 0 ? void 0 : _b.name) === "ServiceWorkerGlobalScope" || ((_c = self.constructor) === null || _c === void 0 ? void 0 : _c.name) === "SharedWorkerGlobalScope");
74949var isDeno = typeof Deno !== "undefined" && typeof Deno.version !== "undefined" && typeof Deno.version.deno !== "undefined";
74950var isBun = typeof Bun !== "undefined" && typeof Bun.version !== "undefined";
74951var isNodeLike = typeof globalThis.process !== "undefined" && Boolean(globalThis.process.version) && Boolean((_d = globalThis.process.versions) === null || _d === void 0 ? void 0 : _d.node);
74952var isNode = isNodeLike;
74953var isReactNative = typeof navigator !== "undefined" && (navigator === null || navigator === void 0 ? void 0 : navigator.product) === "ReactNative";
74954
74955// node_modules/@azure/core-util/dist/esm/bytesEncoding.js

Callers 2

buildRequestBodyFunction · 0.85
prepareFormDataFunction · 0.85

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected