MCPcopy
hub / github.com/yjs/yjs / hasId

Method hasId

src/utils/IdSet.js:191–193  ·  view source on GitHub ↗

* @param {ID} id * @return {boolean}

(id)

Source from the content-addressed store, hash-verified

189 * @return {boolean}
190 */
191 hasId (id) {
192 return this.has(id.client, id.clock)
193 }
194
195 /**
196 * @param {number} client

Callers 12

renderAttrsFunction · 0.45
deletesMethod · 0.45
addsMethod · 0.45
isVisibleFunction · 0.45
popStackItemFunction · 0.45
deleteMethod · 0.45
isDeletedByUndoStackFunction · 0.45
redoItemFunction · 0.45
getMissingMethod · 0.45

Calls 1

hasMethod · 0.95

Tested by

no test coverage detected