HH\Lib\Vec\cast_clear_legacy_array_mark

Requires the Hack Standard Library to be installed.

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>