MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / uuid

Function uuid

src/utils/helpers.js:199–203  ·  view source on GitHub ↗

* Returns unique ID * @returns {string}

()

Source from the content-addressed store, hash-verified

197 * @returns {string}
198 */
199 uuid() {
200 return (
201 new Date().getTime() + Number.parseInt(Math.random() * 100000000000)
202 ).toString(36);
203 },
204 /**
205 * Parses JSON string, if fails returns null
206 * @param {Object|Array} string

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected