MCPcopy Create free account
hub / github.com/devin87/Q.js / toMap

Function toMap

node/Q.js:397–422  ·  view source on GitHub ↗

* 将数组或类数组转换为键值对 eg: ['a','b'] => {a:0,b:1} * @param {Array} list 要转换的数组 * @param {object|function} fv 默认值或处理函数(value,i) => [key,value] * @param {boolean} ignoreCase 是否忽略大小写, 为true时将统一使用小写, 默认为false

(list, fv, ignoreCase)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

getChangedDataFunction · 0.70
Q.jsFile · 0.70

Calls 1

isFuncFunction · 0.70

Tested by

no test coverage detected