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