HH\ImmVector::concat

Returns an ImmVector that is the concatenation of the values of the current ImmVector and the values of the provided Traversable.

Description

public function concat(
  Traversable<Tu> $traversable,
): ImmVector<Tv>

Returns an ImmVector that is the concatenation of the values of the current ImmVector and the values of the provided Traversable.

The values of the provided Traversable is concatenated to the end of the current ImmVector to produce the returned ImmVector.

Parameters

Return Values

Examples

See Vector::concat for usage examples.