import _trimmedEndIndex from "./_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;
export {
  _baseTrim as default
};
//# sourceMappingURL=_baseTrim.js.map
