Defines common utilities objects that don”t fall in any specific category.
Returns a batch generator from given iterable.
Parameters: |
|
---|---|
Returns: | Is string_like variable. |
Return type: | bool |
Examples
>>> batch(tuple(range(10)))
<generator object batch at 0x...>