MCPcopy Create free account
hub / github.com/editablejs/editable / match

Function match

packages/models/src/interfaces/list.ts:100–101  ·  view source on GitHub ↗
(n: Node)

Source from the content-addressed store, hash-verified

98 let { path } = options
99 let entry: NodeEntry<List> | undefined = undefined
100 const match = (n: Node): n is List =>
101 Editor.isList(editor, n) && (!type || n.type === type) && n.key === key
102 while (true) {
103 const prev = Editor.previous<List>(editor, {
104 at: path,

Callers 1

list.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…