HH\Set::fromArray

Deprecated: Use new Set($arr) instead.

Returns a Set containing the values from the specified array

public static function fromArray<T>(
  darray<T, Tv> $arr,
): Set<Tv>;

This function is deprecated. Use new Set ($arr) instead.

Parameters

Return Values