I added the missing intersection() function from underscore but also added a handy feature on top which just provides a boolean check on whether two arrays intersect. I find this latter function highly useful but I wasn't precisely sure how best to name it. Let me know if you think it needs a rename.
I added the missing
intersection()
function from underscore but also added a handy feature on top which just provides a boolean check on whether two arrays intersect. I find this latter function highly useful but I wasn't precisely sure how best to name it. Let me know if you think it needs a rename.