MCPcopy Create free account
hub / github.com/WhiteSevs/TamperMonkeyScript / assign

Method assign

vite.utils.ts:35–69  ·  view source on GitHub ↗

* JSON数据从源端替换到目标端中,如果目标端存在该数据则替换,不添加,返回结果为目标端替换完毕的结果 * @param target 目标数据 * @param source 源数据 * @param isAdd 是否可以追加键,默认false * @example * Utils.assign({"1":1,"2":{"3":3}}, {"2":{"3":4}}); * > * { "1": 1, "2": { "3"

(target1: T, target2: U, isAdd: boolean)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

GenerateUserConfigFunction · 0.45
showViewMethod · 0.45
watchVuePropChangeFunction · 0.45
showViewFunction · 0.45
setAffixFunction · 0.45
getSettingMethod · 0.45
constructorMethod · 0.45
updateFunction · 0.45
playUrlFunction · 0.45
getPlayUrlFunction · 0.45
getPlayUrlHTML5Function · 0.45

Calls 1

hasOwnPropertyMethod · 0.80

Tested by

no test coverage detected