Checks if all items in the searched array are included in the source array.
includesItems([1, 2])([1, 2, 3]); // => trueincludesItems([1, 2])([2, 3]); // => falseincludesItems([{}])([{}]); // => false, because they hold different references Copy
includesItems([1, 2])([1, 2, 3]); // => trueincludesItems([1, 2])([2, 3]); // => falseincludesItems([{}])([{}]); // => false, because they hold different references
Checks if all items in the searched array are included in the source array.
Example