HH\Lib\Vec\cast_clear_legacy_array_mark

Meta Engineer?

This is available as Vec\cast_clear_legacy_array_mark in the www repository.

Casts the given traversable to a vec, resetting the legacy array mark if applicable

namespace HH\Lib\Vec;

function cast_clear_legacy_array_mark<T>(
  Traversable<T> $x,
): vec<T>;

Parameters

Returns

  • vec<T>