source: node_modules/es-toolkit/dist/compat/string/trimStart.mjs@ a762898

Last change on this file since a762898 was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 333 bytes
Line 
1import { trimStart as trimStart$1 } from '../../string/trimStart.mjs';
2
3function trimStart(str, chars, guard) {
4 if (str == null) {
5 return '';
6 }
7 if (guard != null || chars == null) {
8 return str.toString().trimStart();
9 }
10 return trimStart$1(str, chars.toString().split(''));
11}
12
13export { trimStart };
Note: See TracBrowser for help on using the repository browser.