Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The some()
method of Iterator
instances is similar to Array.prototype.some()
: it tests whether at least one element in the array passes the test implemented by the provided function. It returns a boolean value.