About 108,000 results
Open links in new tab
  1. Array.prototype.some () - JavaScript | MDN

    Sep 28, 2025 · The some() method of Array instances returns true if it finds one element in the array that satisfies the provided testing function. Otherwise, it returns false.

  2. JavaScript Array some () Method - W3Schools

    Description The some() method checks if any array elements pass a test (provided as a callback function). The some() method executes the callback function once for each array element. The …

  3. JavaScript Array some () Method - GeeksforGeeks

    Jul 12, 2024 · The some () method checks if any array elements pass a test provided as a callback function, returning true if any do and false if none do. It does not execute the function for empty …

  4. JavaScript Array some () Method

    The some() function executes the callback function once for each element in the array until it finds the one where the callback function returns a true. The some() method immediately returns true and …

  5. JavaScript Array.some() Tutorial – How to Iterate Through Elements in ...

    Sep 7, 2021 · The some() method is an Array.prototype method which takes in a callback function and calls that function for every item within the bound array. When an item passes the callback test, the …

  6. Javascript Array some () (with Examples) - Programiz

    In this tutorial, you will learn about the JavaScript Array some () method with the help of examples. The some () method tests whether any of the array elements pass the given test function.

  7. The Complete Guide to JavaScript‘s Array.some () Method

    Aug 30, 2024 · In this comprehensive guide, you’ll gain deep knowledge of how to leverage some () for cleaner, more efficient JavaScript. We’ll cover the basics then explore more advanced examples, …

  8. How to Use JavaScript Array some | Refine

    Nov 4, 2024 · In this post, we explore with examples what the JavaScript some method is and how it works. We consider what entails its callback test function, and the cases where it is used.

  9. JavaScript Array some () Method Explained: Syntax ... - CodeForGeek

    Jun 29, 2024 · What does the JavaScript some () method do? The some () method checks if at least one element in an array passes a test provided by a function and returns true if it finds one, otherwise it …

  10. JavaScript - Array some () Method: A Comprehensive Guide

    The some() method is a powerful and useful array method that allows you to check if at least one element in an array satisfies a given condition. This method can greatly simplify code when you need …