HH\ImmVector::toArray

Returns an array containing the values from the current ImmVector

public function toArray(): array<Tv>;

This method is interchangeable with toValuesArray().

Returns

  • array<Tv> - An array containing the values from the current ImmVector.

Examples

See Vector::toArray for usage examples.