HH\Set::toVArray

public function toVArray(): varray<Tv>;

Returns

Examples

$s = Set {'red', 'green', 'blue', 'yellow'};

$array = $s->toVArray();

\var_dump(\HH\is_any_array($array));
\var_dump($array);