source: node_modules/es-toolkit/dist/compat/string/endsWith.mjs

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

Added visualizations

  • Property mode set to 100644
File size: 244 bytes
Line 
1function endsWith(str, target, position) {
2 if (str == null || target == null) {
3 return false;
4 }
5 if (position == null) {
6 position = str.length;
7 }
8 return str.endsWith(target, position);
9}
10
11export { endsWith };
Note: See TracBrowser for help on using the repository browser.