HH\Lib\Keyset\flatten

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

This function is available as Keyset\flatten() in Facebook's www repository.

Returns a new keyset formed by joining the values within the given Traversables into a keyset

Description

namespace HH\Lib\Keyset;

function flatten<Tv as arraykey>(
  Traversable<Traversable<Tv>> $traversables,
): keyset<Tv>;

For a fixed number of Traversables, see Keyset\union().

Parameters