Scala Check If Seq Container True Booleans

[Solved] Scala Check If Seq Container True Booleans | Scala - Code Explorer | yomemimo.com
Question : scala check if seq container true booleans

Answered by : agreeable-addax-x2fqmigqlh8g

product("inStock").forall(_ == true)

Source : https://stackoverflow.com/questions/40494453/returning-true-if-all-items-in-a-list-are-true-otherwise-false?rq=1 | Last Update : Mon, 16 Mar 20

Answers related to scala check if seq container true booleans

Code Explorer Popular Question For Scala