HH\ImmVector::__construct

Description

public function __construct(
  ?Traversable<Tv> $it,
): void

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

Parameters

Examples

See Vector for usage examples.