MCPcopy Create free account
hub / github.com/NaturalIntelligence/fast-xml-parser / propName

Function propName

src/xmlparser/node2json.js:126–132  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

124}
125
126function propName(obj) {
127 const keys = Object.keys(obj);
128 for (let i = 0; i < keys.length; i++) {
129 const key = keys[i];
130 if (key !== ":@") return key;
131 }
132}
133
134function assignAttributes(obj, attrMap, readonlyMatcher, options) {
135 if (attrMap) {

Callers 1

compressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected