Comment on page
NodeEntryobjects are returned when iterating over the nodes in a Slate document tree. They consist of an array with two elements: the
Pathrelative to the root node in the document.
They are generics meaning that sometimes they will return a subset of
Nodetypes like an
type NodeEntry<T extends Node = Node> = [T, Path]