Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The find()
method of Iterator
instances is similar to Array.prototype.find()
: it returns the first element produced by the iterator that satisfies the provided testing function. If no values satisfy the testing function, undefined
is returned.