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
- Host: GitHub
- URL: https://github.com/imelgrat/array-some-example
- Owner: imelgrat
- Created: 2020-03-31T22:42:00.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-07T01:26:12.000Z (about 6 years ago)
- Last Synced: 2025-01-20T22:53:15.353Z (over 1 year ago)
- Topics: array, array-manipulations, array-methods, arrays, javascript, some
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/