. */
// Checks if a line is considered in scope
// We consider all lines in scope, if we do not have lines in scope.
function isLineInScope(state, line) {
  const frame = (0, _pause.getVisibleSelectedFrame)(state);

  if (!frame) {
    return false;
  }

  const lines = (0, _ast.getInScopeLines)(state, frame.location);

  if (!lines) {
    return true;
  }

  return lines.includes(line);
}PK