Back to Sinon

sinon.match.some

docs/concepts/matchers/api/some.md

22.1.0224 B
Original Source

sinon.match.some(matcher)

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

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