Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 325 Bytes

File metadata and controls

6 lines (5 loc) · 325 Bytes

All [iter] is Instance of [class/type/tuple]

Originally published: 2012-07-26 16:04:40
Last updated: 2012-07-26 18:09:30
Author: Jonathan Frere

So it turned out that I needed a way of ensuring that all members of an iterable are instances of a certain class. Here, therefore, is the isallinstance() function.