HH\Iterable::concat

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

Description

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

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

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

Parameters

Return Values