HH\Lib\Vec\flatten

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

Returns a new vec formed by joining the Traversable elements of the given Traversable

namespace HH\Lib\Vec;

function flatten<Tv>(
    Traversable<Traversable<Tv>> $traversables,
): vec<Tv>;

For a fixed number of Traversables, see Vec\concat().

Parameters