Re: testing array of logicals
Janto Dreijer wrote:
<slaps foreheaddoh! Never mind.
Janto Dreijer wrote:
John Henry wrote:
>
Is there a reason why you didn't write
True in (bool(n) for n in logflags)
Simon Forman wrote:
False not in logflags
>
Or, if your values aren't already bools
>
False not in (bool(n) for n in logflags)
Very intriguing use of "not in"...
False not in logflags
>
Or, if your values aren't already bools
>
False not in (bool(n) for n in logflags)
Is there a reason why you didn't write
True in (bool(n) for n in logflags)
Comment