Skip to content
Snippets Groups Projects
Commit 19e41c26 authored by xamgore's avatar xamgore
Browse files

New function for shuffling associative arrays

There is a problem at the standard (STL) realization: it doesn't work with assoc arrays, so [0 => 123, 5 => 123] is transformed into [0 => 123, 1 => 123].

`Arr::shuffle_assoc` saves keys.
parent bbd6d462
Branches
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment