MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / convertMapToType

Function convertMapToType

lib/command/definitions.js:258–262  ·  view source on GitHub ↗

* @param {Map} map * * @returns {string}

(map)

Source from the content-addressed store, hash-verified

256 * @returns {string}
257 */
258function convertMapToType(map) {
259 return `{ ${Array.from(map)
260 .map(([key, value]) => `${key}: ${value}`)
261 .join(', ')} }`
262}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected