HH\ImmSet::concat

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

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

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

Guide

Parameters

Returns

Examples

See [Set::concat](</hack/reference/class/Set/concat/#examples>) for usage examples.