All files / lib/internalHelpers _endsWith.js

100% Statements 4/4
100% Branches 0/0
100% Functions 1/1
100% Lines 4/4
1 2 3 4 5 6 7 8 9 10 11    1x       1x 16x     1x
"use strict";
 
Object.defineProperty(exports, "__esModule", {
  value: true
});
 
exports.default = function (string, suffix) {
  return string.substr(-suffix.length) === suffix;
};
 
module.exports = exports["default"];