HH\ImmVector::immutable

Returns an immutable copy (ImmVector) of the current ImmVector.

Description

public function immutable(): ImmVector<Tv>

Returns an immutable copy (ImmVector) of the current ImmVector.

This method is interchangeable with toImmVector() and values().

Return Values

Examples

See Vector::immutable for usage examples.