Searched defs:is_iterator (Results 1 – 2 of 2) sorted by relevance
61 is_iterator = lambda x: isinstance(x, typing.Iterator) function64 is_iterator = lambda x: hasattr(x, '__iter__') and hasattr(x, 'next') function
68 static constexpr bool is_iterator = true; member