Returns whether the given string starts with any of the prefixes
Optional
the source string to check
the target strings to compare
whether the given string starts with any of the prefixes
startsWithAny('foobar', ['foo', 'bar']); // truestartsWithAny('hello', ['foo', 'bar']); // false Copy
startsWithAny('foobar', ['foo', 'bar']); // truestartsWithAny('hello', ['foo', 'bar']); // false
Returns whether the given string starts with any of the prefixes