all? function

all? returns true if every item of a scope satisfies a condition, and false if not.

Syntax

all?(scope, condition)

Arguments

  • scope: a filtered list of objects
  • condition: an expression that evaluates to true or false

Examples

  • if all ADMDeals have an MRR greater than 5 all?(ADMDeals, MRR > 5) => true 

Did this help answer your question?

thumbs up
thumbs down

Thanks for the feedback! 🙏🏽