A Python iterable that is not a list or a tuple, with the behavior of its Python type.
type is the name of the Python type:
"dict_keys","dict_values"and"dict_items", from the methodskeys(),values()anditems()of a dict. A view prints asdict_keys([...]), has a length, and is false when it is empty."generator", from the filtersmap,select,reject,selectattr,rejectattr,unique,items,batchandslice, and the reverse iterators of thereversefilter, such as"list_reverseiterator". An iterator is always true and has no length, sox|select("odd")|lengthraises like in Python.
A template iterates over these values like a list. Otera does not model the single pass of a Python iterator, so a template can iterate over a generator twice.
Summary
Functions
Returns true for the dict views, which have a length.