NodeEntry API
1 min
nodeentry objects are returned when iterating over the nodes in a slate document tree they consist of an array with two elements the node and its path relative to the root node in the document they are generics meaning that sometimes they will return a subset of node types like an element or text type nodeentry\<t extends node = node> = \[t, path]