"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.isSameMark = void 0;
/*
 * Check if two marks are the same by comparing type and attrs
 */
var isSameMark = exports.isSameMark = function isSameMark(mark, otherMark) {
  if (!mark || !otherMark) {
    return false;
  }
  return mark.eq(otherMark);
};