The find()
method of TypedArray
instances returns the first element in the provided typed array that satisfies the provided testing function. If no values satisfy the testing function, undefined
is returned. This method has the same algorithm as Array.prototype.find()
.