1 | ;
|
2 |
|
3 | exports.__esModule = true;
|
4 | exports["default"] = endsWith;
|
5 | /**
|
6 | * Check if a string ends with something
|
7 | * @private
|
8 | */
|
9 | function endsWith(string, suffix) {
|
10 | return string.substr(-suffix.length) === suffix;
|
11 | }
|
12 | module.exports = exports.default; |
\ | No newline at end of file |