MCPcopy
hub / github.com/Kong/insomnia / entries

Function entries

packages/insomnia/bin/yarn-standalone.js:2566–2574  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

2564}
2565
2566function entries(obj) {
2567 const entries = [];
2568 if (obj) {
2569 for (const key in obj) {
2570 entries.push([key, obj[key]]);
2571 }
2572 }
2573 return entries;
2574}
2575
2576function removePrefix(pattern, prefix) {
2577 if (pattern.startsWith(prefix)) {

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected