About 106,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

    The some() method executes the callback function once for each array element. The some() method returns true (and stops) if the function returns true for one of the array elements.

  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

    In this tutorial, you will learn how to use the JavaScript Array some () method to test if at least one element in the array passes a test.

  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 · Array.some () is an underutilized array method that can simplify your code tremendously if used properly. In this comprehensive guide, you’ll gain deep knowledge of how to leverage some () …

  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 · The some () method in JavaScript checks if at least one element in an array meets a specific condition. It helps make our code shorter and easier to read by not having to go through the …

  10. JavaScript Array some () Method - CodeToFun

    Nov 20, 2024 · The some() method is a powerful tool in JavaScript arrays, providing an elegant solution for checking if at least one element satisfies a condition. By adhering to best practices and exploring …