HH\Lib\Vec\shuffle

This API is part of the Hack Standard Library, not HHVM itself.

Returns a new vec with the values of the given Traversable in a random order

namespace HH\Lib\Vec;

function shuffle<Tv>(
  Traversable<Tv> $traversable,
): vec<Tv>;

Parameters