HH\Lib\C\last_keyx

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

This function is available as C\last_keyx() in Facebook's www repository.

Returns the last key of the given KeyedTraversable, or throws if the KeyedTraversable is empty

Description

namespace HH\Lib\C;

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

For possibly empty Traversables, see C\last_key.

Parameters