"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.atTheBeginningOfDoc = atTheBeginningOfDoc;
function atTheBeginningOfDoc(state) {
  var selection = state.selection;
  return selection.$from.pos === selection.$from.depth;
}