Returns whether the given array includes any of the given elements
Optional
the array to check
the elements to compare
whether the given array includes any of the given elements
includesAny(['foo', 'bar'], ['foo', 'bar']); // trueincludesAny(['foo', 'bar'], ['foo', 'world']); // true Copy
includesAny(['foo', 'bar'], ['foo', 'bar']); // trueincludesAny(['foo', 'bar'], ['foo', 'world']); // true
Returns whether the given array includes any of the given elements