HH\Lib\Dict\drop

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

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

Returns a new dict containing all except the first $n entries of the given KeyedTraversable

Description

namespace HH\Lib\Dict;

function drop<Tk as arraykey, Tv>(
  KeyedTraversable<Tk, Tv> $traversable,
  int $n,
): dict<Tk, Tv>;

To take only the first $n entries, see Dict\take().

Parameters