source: node_modules/es-toolkit/dist/compat/string/trimStart.js

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

Added visualizations

  • Property mode set to 100644
File size: 428 bytes
RevLine 
[a762898]1'use strict';
2
3Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
5const trimStart$1 = require('../../string/trimStart.js');
6
7function trimStart(str, chars, guard) {
8 if (str == null) {
9 return '';
10 }
11 if (guard != null || chars == null) {
12 return str.toString().trimStart();
13 }
14 return trimStart$1.trimStart(str, chars.toString().split(''));
15}
16
17exports.trimStart = trimStart;
Note: See TracBrowser for help on using the repository browser.