Some method is used to check for any of the element of arrays, objects are satisfying input condition.
If the applied condition is satisfied by any of the element, then it will return true
or else false
.
- Syntax:
const isElementGreaterThanHundred = Array.some((element) => { return // condition });