Lodash – some method

Syntax _.some(collection, [predicate=_.identity]) Lodash some method checks if the predicate returns truthy for any element of the collection. Iteration is stopped once predicate returns truthy. Arguments collection (Array|Object) − The collection…

Continue ReadingLodash – some method