MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / mapToObject

Function mapToObject

lib/insights-client.js:411–415  ·  view source on GitHub ↗
(map)

Source from the content-addressed store, hash-verified

409module.exports = InsightsClient;
410
411function mapToObject(map) {
412 const result = {};
413 map.forEach((value, key) => result[key] = value);
414 return result;
415}
416
417function getPolicyInfo(policy) {
418 if (!policy) {

Callers 2

_getStartupMessageMethod · 0.85
getPolicyInfoFunction · 0.85

Calls 1

forEachMethod · 0.65

Tested by

no test coverage detected