aioplus.aany¶
- async aioplus.aany(aiterable, /)¶
Return
Trueif any items ofaiterableevaluate toTrue.- Parameters:
aiterable (AsyncIterable[SupportsBool]) – Iterable.
- Returns:
- Return type:
Examples
>>> aiterable = arange(23) >>> await aany(aiterable) True
Notes
If
aiterableis empty, thenFalseis returned.
See also