HH\Lib\Vec\reverse

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

This function is available as Vec\reverse() in Facebook's www repository.

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

Description

namespace HH\Lib\Vec;

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

Parameters