HH\Lib\Vec\keys

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

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

Returns a new vec containing the keys of the given KeyedTraversable

Description

namespace HH\Lib\Vec;

function keys<Tk, Tv>(
  KeyedTraversable<Tk, Tv> $traversable,
): vec<Tk>;

Parameters