consider-using-any-or-all / C0501ΒΆ

Message emitted:

for loop could be %s

Description:

A for loop that checks for a condition and return a bool can be replaced with any or all.

Created by consider-using-any-or-all checker