equal_ignore_order#
- toolbox.equal_ignore_order(one, two)#
Check whether two iterables contain the same items, ignoring order.
Only use when elements are neither hashable nor sortable, as this method is quite slow. if hashable use: set(a) == set(b) if sortable use: sorted(a) == sorted(b)
- Parameters:
one (Iterable[Any]) –
two (Iterable[Any]) –
- Return type:
bool