"use strict";
const _trimmedEndIndex = require("./_trimmedEndIndex.js");
var trimmedEndIndex = _trimmedEndIndex;
var reTrimStart = /^\s+/;
function baseTrim(string) {
  return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
}
var _baseTrim = baseTrim;
module.exports = _baseTrim;
//# sourceMappingURL=_baseTrim.js.map
