You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$list = newGenericOrderedList([1, 2, 3, 4]);
$grouped = $list->group(static fn (int$value) => $value % 2 === 0 ? 'even' : 'odd');
$listFromGroups = $grouped->toMergedOrderedList();
$list->toNativeArray(); // [1, 3, 2, 4] or sth. like this - re-ordering to the initial order won't really work here and thus I guess that should be sufficient
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: