HH\Lib\Vec\concat

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

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

Returns a new vec formed by concatenating the given Traversables together

Description

namespace HH\Lib\Vec;

function concat<Tv>(
  Traversable<Tv> $first,
  Traversable<Tv> ...$rest,
): vec<Tv>;

For a variable number of Traversables, see Vec\flatten().

Parameters