HH\Lib\Dict\cast_clear_legacy_array_mark

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

namespace HH\Lib\Dict;

function cast_clear_legacy_array_mark<Tk as arraykey, Tv>(
  KeyedTraversable<Tk, Tv> $x,
): dict<Tk, Tv>;

Parameters

Returns

  • dict<Tk, Tv>