HH\Lib\Dict\reverse
Returns a new dict with the original entries in reversed iteration order
namespace HH\Lib\Dict;
function reverse<Tk as arraykey, Tv>(
KeyedTraversable<Tk, Tv> $traversable,
): dict<Tk, Tv>;
Time complexity: O(n) Space complexity: O(n)
Parameters
KeyedTraversable<Tk,
Tv> $traversable
Returns
dict<Tk, Tv>