index.js
function endsWithAny(string, vector) {
  return _.any(vector.map(function (e) { return _str.endsWith(string, e); }));
}
function endsWithAny(string, vector) {
  return _.any(vector.map(function (e) { return _str.endsWith(string, e); }));
}
function endsWithAny ( string , vector ) { return _ . any ( vector . map ( function ( e ) { return _str . endsWith ( string , e ) ; } ) ) ; }
True if the string ends with any element of given vector
True if the string ends with any element of given vector