HH\ImmSet::concat

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

Description

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

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

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

Parameters

  • Traversable<Tu> $traversable - The Traversable to concatenate to the current ImmSet.

Return Values

Examples

See Set::concat for usage examples.