"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const _baseSlice = require("./_baseSlice.cjs");
const toInteger = require("./toInteger2.cjs");
function dropRight(array, n, guard) {
  var length = array == null ? 0 : array.length;
  if (!length) {
    return [];
  }
  n = n === void 0 ? 1 : toInteger.default(n);
  n = length - n;
  return _baseSlice.default(array, 0, n < 0 ? 0 : n);
}
exports.default = dropRight;
//# sourceMappingURL=dropRight.cjs.map
