pyrolite.util.types

pyrolite.util.types.iscollection(obj)[source]

Checks whether an object is an iterable collection.

Parameters

obj (object) – Object to check.

Returns

Boolean indication of whether the object is a collection.

Return type

bool