Returns whether the given string ends with any of the suffixes, case-insensitive
Optional
the source string to check
the target strings to compare
whether the given string ends with any of the suffixes, case-insensitive
endsWithAnyIgnoreCase('foobar', ['FOO', 'BAR']); // trueendsWithAnyIgnoreCase('hello', ['FOO', 'BAR']); // false Copy
endsWithAnyIgnoreCase('foobar', ['FOO', 'BAR']); // trueendsWithAnyIgnoreCase('hello', ['FOO', 'BAR']); // false
Returns whether the given string ends with any of the suffixes, case-insensitive