aioplus.aempty¶
- async aioplus.aempty(aiterable, /)¶
Return
Trueifaiterableis empty,Falseotherwise.- Parameters:
aiterable (AsyncIterable[Any]) – An asynchronous iterable of objects.
- Returns:
- Return type:
Examples
>>> aiterable = arange(23) >>> await aempty(aiterable) False
Notes
Short-circuits on the first object.