HH\Set::fromArray
Deprecated: Use new Set($arr)
instead.
Returns a Set
containing the values from the specified array
public static function fromArray(
darray<arraykey, Tv> $arr,
): Set<Tv>;
This function is deprecated. Use new Set ($arr)
instead.
Parameters
darray<arraykey, Tv> $arr
- Thearray
to convert to aSet
.