HH\ImmVector::__construct

Creates an ImmVector from the given Traversable, or an empty ImmVector if null is passed

public function __construct(
  ?Traversable<Tv> $iterable = NULL,
): void;

Parameters

Returns

  • void

Examples

See [Vector](</hack/reference/class/Vector/__construct/#examples>) for usage examples.