Back to Sinon

sinon.match.every

docs/concepts/matchers/api/every.md

22.1.0230 B
Original Source

sinon.match.every(matcher)

Requires every element of an Array, Set or Map, or alternatively every value of an Object to match the given matcher.

<<< ../../../.vitepress/tests/docs/matchers/api/every.test.js