MCPcopy Create free account
hub / github.com/answer19981/MiniHand / getArrByKeyMulti

Function getArrByKeyMulti

cloudfunctions/mcloud/framework/utils/data_util.js:188–202  ·  view source on GitHub ↗

* 提取对象数组的多个属性数组, * 如 [{'x':1,'y':11,'z':111},{'x':2,'y':22,'z':222}] * 提取 ['x','y'] 得到[{'x':1,'y':11},{'x':2,'y':22}] * @param {*} arr * @param {*} keys * @returns []

(arr, keys = [])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected