This repository has been archived on 2026-03-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
StasisWarden-Legacy/node_modules/es-toolkit/dist/compat/string/trimEnd.mjs
T

14 lines
319 B
JavaScript

import { trimEnd as trimEnd$1 } from '../../string/trimEnd.mjs';
function trimEnd(str, chars, guard) {
if (str == null) {
return '';
}
if (guard != null || chars == null) {
return str.toString().trimEnd();
}
return trimEnd$1(str, chars.toString().split(''));
}
export { trimEnd };