MCPcopy
hub / github.com/yjs/yjs / attrKeys

Method attrKeys

src/ytype.js:1378–1380  ·  view source on GitHub ↗

* Returns the keys for each element in the YMap Type. * * @return {IterableIterator >>}

()

Source from the content-addressed store, hash-verified

1376 * @return {IterableIterator<import('lib0/ts').KeyOf<delta.DeltaConfGetAttrs<DConf>>>}
1377 */
1378 attrKeys () {
1379 return iterator.iteratorMap(createMapIterator(this), /** @param {any} v */ v => v[0])
1380 }
1381
1382 /**
1383 * Returns the values for each element in the YMap Type.

Callers 3

compareFunction · 0.80
testIteratorsFunction · 0.80
testUndoDeleteFilterFunction · 0.80

Calls 1

createMapIteratorFunction · 0.85

Tested by

no test coverage detected