This commit is contained in:
Stephen Franceschelli 2019-07-30 13:41:05 -04:00
commit c1a589c5b6
7078 changed files with 1882834 additions and 319 deletions

18
node_modules/lodash/_stringSize.js generated vendored Normal file
View file

@ -0,0 +1,18 @@
var asciiSize = require('./_asciiSize'),
hasUnicode = require('./_hasUnicode'),
unicodeSize = require('./_unicodeSize');
/**
* Gets the number of symbols in `string`.
*
* @private
* @param {string} string The string to inspect.
* @returns {number} Returns the string size.
*/
function stringSize(string) {
return hasUnicode(string)
? unicodeSize(string)
: asciiSize(string);
}
module.exports = stringSize;