MCPcopy
hub / github.com/remoteintech/remote-jobs / random

Function random

src/_data/helpers.js:44–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 * @returns {string} A random UUID.
43 */
44export function random() {
45 const segment = () => {
46 return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
47 };
48 return `${segment()}-${segment()}-${segment()}`;
49}

Callers

nothing calls this directly

Calls 1

segmentFunction · 0.85

Tested by

no test coverage detected