e4949f5658f5d745f44064514b3b1a9d849920d26614062ebd9aa6287d9b7543.json 543 B

1
  1. {"ast":null,"code":"import trimmedEndIndex from './_trimmedEndIndex.js';\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '') : string;\n}\nexport default baseTrim;","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}