This commit is contained in:
2024-11-28 23:08:17 +01:00
parent 8895fde030
commit 0dda8e760c
16116 changed files with 2866428 additions and 71 deletions

12
node_modules/muggle-string/out/getLength.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLength = void 0;
function getLength(segments) {
let length = 0;
for (const segment of segments) {
length += typeof segment == 'string' ? segment.length : segment[0].length;
}
return length;
}
exports.getLength = getLength;
//# sourceMappingURL=getLength.js.map