MCPcopy Index your code
hub / github.com/bugy/script-server / forEachKeyValue

Function forEachKeyValue

web-src/src/common/utils/common.js:348–355  ·  view source on GitHub ↗
(array, callback)

Source from the content-addressed store, hash-verified

346}
347
348export function forEachKeyValue(array, callback) {
349 for (var key in array) {
350 if (array.hasOwnProperty(key)) {
351 var value = array[key];
352 callback(key, value);
353 }
354 }
355}
356
357export async function asyncForEachKeyValue(array, callback) {
358 for (const key in array) {

Callers 10

findImageMethod · 0.90
index.jsFile · 0.90
parametersToFormDataFunction · 0.90
resendValuesFunction · 0.90
UPDATE_SCRIPT_CONFIGFunction · 0.90
admin.jsFile · 0.90
removeEmptyValuesFunction · 0.90
toQueryArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected