let nextNonDescendantBlock: ?()

in src/model/transaction/exploration/getNextDelimiterBlockKey.js [43:54]


  let nextNonDescendantBlock: ?(
    | ContentBlock
    | BlockNodeRecord
    | ContentBlockNode
  ) = blockMap.get(parent);
  while (
    nextNonDescendantBlock &&
    !nextNonDescendantBlock.getNextSiblingKey()
  ) {
    const parentKey = nextNonDescendantBlock.getParentKey();
    nextNonDescendantBlock = parentKey ? blockMap.get(parentKey) : null;
  }