(If you know C# LINQ , it's like Any vs All)

  • some will return true if any predicate is true

  • every will return true if all predicate is true

Where predicate means function that returns bool ( true/false) for each element

every returns on first false.
some returns on first true

Answer from Royi Namir on Stack Overflow
๐ŸŒ
Educative
educative.io โ€บ answers โ€บ what-are-the-every-and-some-methods-in-javascript
What are the every() and some() methods in JavaScript?
The every() array method in JavaScript is used to check if all the elements of the array satisfy the callback function condition or not. The some() array method in JavaScript is used to check if at least one of the elements passes the callback ...
๐ŸŒ
DEV Community
dev.to โ€บ amirfakour โ€บ understanding-some-and-every-array-methods-in-javascript-59fh
Understanding "some" and "every" Array Methods in Javascript - DEV Community
June 12, 2023 - In this example, the some method returns true because the number 12 is greater than 10. The Array.every() method tests if all elements in an array pass the provided test function.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ javascript โ€บ what-is-the-difference-between-every-and-some-methods-in-javascript
What is the difference between every() and some() methods in JavaScript ? - GeeksforGeeks
July 12, 2025 - The Array.some() method in JavaScript ... The only difference is that the some() method will return true if any predicate is true while every() method will return true if all predicates are true....
๐ŸŒ
MDN Web Docs
developer.mozilla.org โ€บ en-US โ€บ docs โ€บ Web โ€บ JavaScript โ€บ Reference โ€บ Global_Objects โ€บ Array โ€บ some
Array.prototype.some() - JavaScript | MDN
false unless callbackFn returns a truthy value for an array element, in which case true is immediately returned. The some() method is an iterative method. It calls a provided callbackFn function once for each element in an array, until the callbackFn returns a truthy value.
๐ŸŒ
Marius Schulz
mariusschulz.com โ€บ blog โ€บ the-some-and-every-array-methods-in-javascript
The some() and every() Array Methods in JavaScript โ€” Marius Schulz
November 22, 2020 - Similar to some(), the execution of every() is short-circuited. As soon as every() finds an array element that doesn't match the predicate, it immediately returns false and doesn't iterate over the remaining elements.
๐ŸŒ
Medium
medium.com โ€บ coding-in-depth โ€บ when-to-use-every-some-any-foreach-and-map-in-javascript-9ed598010946
When to use every(), some(), any(), forEach() and map() in JavaScript | by Coding In depth | Coding In Depth | Medium
August 8, 2020 - Is Array.any() exist in the JavaScript? The answer is no. However, Array.some() do the purpose of getting any elements. The method Some will return true when the first matching condition will be met.
๐ŸŒ
JavaScript in Plain English
javascript.plainenglish.io โ€บ javascript-array-some-and-every-2975e0cc12f0
JavaScript Array.some() and every() | by Sateesh Gandipadala | JavaScript in Plain English
December 27, 2019 - The some() method stops executing ... This is exactly the opposite of some method. Every() method tests if every element in the array are the same kind we are testing for....
Find elsewhere
๐ŸŒ
MDN Web Docs
developer.mozilla.org โ€บ en-US โ€บ docs โ€บ Web โ€บ JavaScript โ€บ Reference โ€บ Global_Objects โ€บ Array โ€บ every
Array.prototype.every() - JavaScript | MDN
true unless callbackFn returns a falsy value for an array element, in which case false is immediately returned. The every() method is an iterative method. It calls a provided callbackFn function once for each element in an array, until the callbackFn returns a falsy value.
๐ŸŒ
freeCodeCamp
freecodecamp.org โ€บ news โ€บ learn-the-every-and-some-array-methods-in-javascript
JavaScript Array Methods โ€“ How to Use every() and some() in JS
August 10, 2022 - So if you get true as the the return value of every you should be aware that the array could be empty. some on the other hand, directly returns false on empty arrays without any calls to predicate and without any weirdness.
๐ŸŒ
Medium
medium.com โ€บ @parnazphd โ€บ what-is-the-difference-between-every-and-some-in-js-af08059002af
what is the difference between every() and some() in js? | by Parnaz Pirhadi | Medium
April 29, 2023 - what is the difference between every() and some() in js? Both of them executes a function for each array element. The every() method returns true if the function returns true for all elements and โ€ฆ
๐ŸŒ
DEV Community
dev.to โ€บ hkp22 โ€บ javascript-tips-using-every-and-some-for-cleaner-array-checks-379n
JavaScript Tips: Using .every() and .some() for Cleaner Array Checks - DEV Community
October 9, 2024 - In contrast to .every(), the .some() method checks if at least one element in the array passes the test condition. As soon as it finds one element that satisfies the condition, it returns true.
๐ŸŒ
DEV Community
dev.to โ€บ nas5w โ€บ learn-the-javascript-array-every-and-array-some-methods-356c
Learn the JavaScript Array.every() and Array.some() Methods - DEV Community
June 9, 2020 - Since none of the elements are greater than 10, Array.some returns false after testing each element. ... Not only does it return true, it returns true as soon as the first element passes the test. In this cases, since the number 4 passes the test, 5 and 6 aren't even tested. Now that we generally know how the every and some methods work, here are some additional functionality you can get out of them:
๐ŸŒ
DigitalOcean
digitalocean.com โ€บ community โ€บ tutorials โ€บ using-every-and-some-to-manipulate-javascript-arrays
How To Use .every() and .some() to Manipulate JavaScript Arrays | DigitalOcean
December 12, 2019 - The every() method allows us to establish if every element within an array meets a certain requirement. It stops evaluating the array (short circuits) the first time it finds an element that does not satisfy the given requirement. The some() method allows us to establish if some (at least one) ...
๐ŸŒ
Refine
refine.dev โ€บ home โ€บ blog โ€บ tutorials โ€บ a definitive guide on javascript every method
A Definitive guide on JavaScript every Method | Refine
January 17, 2025 - However, the array can change inside the callback function. every checks if all elements meet the condition, while some checks if at least one element meets the condition. Yes, but you would need to access the object properties in the callback ...
๐ŸŒ
Linux Hint
linuxhint.com โ€บ difference-between-every-and-some-methods-javascript
Difference between every() and some() methods in ...
Linux Hint LLC, [email protected] 1210 Kelly Park Circle, Morgan Hill, CA 95037 Privacy Policy and Terms of Use
๐ŸŒ
Go Make Things
gomakethings.com โ€บ why-would-you-use-array.some-or-array.every-over-array.filter
Why would you use Array.some() or Array.every() over Array.filter() | Go Make Things
Array.some() returns true if at least one item in your array matches some criteria you specify as part of a callback function. Array.every() returns true if all items in your array matches some criteria you specify as part of a callback function.
๐ŸŒ
Execute Program
executeprogram.com โ€บ courses โ€บ javascript-array โ€บ lessons โ€บ some-and-every
JavaScript Arrays: Some and Every
Learn programming languages like TypeScript, Python, JavaScript, SQL, and regular expressions. Interactive with real code examples.
๐ŸŒ
Medium
medium.com โ€บ @yuvaraj.io โ€บ lesson-37-some-and-every-array-method-in-javascript-ab966c844041
Lesson 37: Some and Every Array Method in JavaScript | by Yuvaraj S | Oct, 2025 | Medium
October 28, 2025 - ๐Ÿ’กKey Point: some() stops checking as soon as it finds the first element that passes the test. This is efficient for large arrays. The every() method checks if all elements in an array pass a test implemented by a callback function.