is_iterable

is_iterable(x)[source]

Return true if x is an iterable object.

Return type:

TypeGuard[Iterable[Any]]