anyFalse property
bool
get
anyFalse
Checks if any element in the iterable is false.
This getter iterates through each element in the iterable. If it
encounters an element that is false, it returns true. If no such
element is found after iterating through all elements, it returns
false.
Returns:
trueif at least one element in the iterable isfalse.falseif no elements in the iterable arefalseor the iterable is empty.
Implementation
bool get anyFalse => where((bool e) => !e).isNotEmpty;