MCPcopy Create free account
hub / github.com/DTStack/molecule / randomId

Function randomId

src/common/utils.ts:36–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36export function randomId() {
37 return Date.now() + Math.round(Math.random() * 1000);
38}
39
40export function mergeObjects<T>(source: object, target: object): T {
41 for (const prop in target) {

Callers 9

addMethod · 0.90
cloneGroupMethod · 0.90
updateProblemMethod · 0.90
addANotificationMethod · 0.90
noticeMethod · 0.90
addRootFolderMethod · 0.90
activateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected