import baseSlice from "./_baseSlice.js";
import toInteger from "./toInteger.js";
function dropRight(array, n, guard) {
  var length = array == null ? 0 : array.length;
  if (!length) {
    return [];
  }
  n = n === void 0 ? 1 : toInteger(n);
  n = length - n;
  return baseSlice(array, 0, n < 0 ? 0 : n);
}
export {
  dropRight as default
};
//# sourceMappingURL=dropRight.js.map
