An open API service indexing awesome lists of open source software.

https://github.com/imelgrat/array-some-example

Array.some() example
https://github.com/imelgrat/array-some-example

array array-manipulations array-methods arrays javascript some

Last synced: about 1 year ago
JSON representation

Array.some() example

Awesome Lists containing this project

README

          

# Array.some() example

The **.some()** method checks whether some of the array elements satisfy a given condition or pass a test. Unlike **.every()**, this method returns true when at least one of the elements passes the test.

In this case, whether at least one of the elements is longer than 4 letters

Read more at: https://imelgrat.me/javascript/array-object-iteration-javascript/