Skip to content

Files

Latest commit

 

History

History

some-method

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

JavaScript - Some method

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
    });