ertk.utils.ordered_intersect
- ertk.utils.ordered_intersect(a: Iterable, b: Container) List
Returns a list of the intersection of
aandb, in the order elements appear ina.- Parameters:
- a: iterable
Iterable with the order of elements.
- b: container
Container to test inclusion of elements in
a.
- Returns:
- list
The resulting elements, in order.