sindresorhus/matcher

Option to match any pattern in .isMatch

silverwind opened this issue · 3 comments

.isMatch currently matches when every (Array.prototype.every) pattern matches, but I have a case where I need to match any (Array.prototype.some) pattern. Would you accept adding a option for that?

Found another solution.

@silverwind and that would be?

I ended up reimplementing this module. It did not suit my needs, this was just one of many issues.