Returns whether the given string ends with any of the suffixes
Optional
the source string to check
the target strings to compare
whether the given string ends with any of the suffixes
endsWithAny('foobar', ['foo', 'bar']); // trueendsWithAny('hello', ['foo', 'bar']); // false Copy
endsWithAny('foobar', ['foo', 'bar']); // trueendsWithAny('hello', ['foo', 'bar']); // false
Returns whether the given string ends with any of the suffixes