1 | import isArray from './is-array';
|
2 | import isString from './is-string';
|
3 | function endsWith(arr, e) {
|
4 | return (isArray(arr) || isString(arr)) ? arr[arr.length - 1] === e : false;
|
5 | }
|
6 | export default endsWith;
|
7 | //# sourceMappingURL=ends-with.js.map |
\ | No newline at end of file |