MCPcopy
hub / github.com/Tencent/westore / setResult

Function setResult

packages/westore/index.common.js:100–104  ·  view source on GitHub ↗
(result, k, v)

Source from the content-addressed store, hash-verified

98}
99
100function setResult(result, k, v) {
101 if (getType(v) != FUNCTIONTYPE) {
102 result[k] = v
103 }
104}
105
106function getType(obj) {
107 return Object.prototype.toString.call(obj)

Callers 1

_diffFunction · 0.70

Calls 1

getTypeFunction · 0.70

Tested by

no test coverage detected