HH\Lib\Vec\drop

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

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

Returns a new vec containing all except the first $n elements of the given Traversable

Description

namespace HH\Lib\Vec;

function drop<Tv>(
  Traversable<Tv> $traversable,
  int $n,
): vec<Tv>;

To take only the first $n elements, see Vec\take().

Parameters