%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/lodash-es/
Upload File :
Create Path :
Current File : /var/www/html/node_modules/lodash-es/_baseTrim.js

import trimmedEndIndex from './_trimmedEndIndex.js';

/** Used to match leading whitespace. */
var reTrimStart = /^\s+/;

/**
 * The base implementation of `_.trim`.
 *
 * @private
 * @param {string} string The string to trim.
 * @returns {string} Returns the trimmed string.
 */
function baseTrim(string) {
  return string
    ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
    : string;
}

export default baseTrim;

Zerion Mini Shell 1.0