function legacyIsPreviousLineEmpty(text, node, locStart) {
  return isPreviousLineEmptyWithStartIndex(text, locStart(node));
}
@template N
@param {string} text
@param {N} node
@param {(node: N) => number} locStart