HH\Set::fromArray

Returns a Set containing the values from the specified array

Deprecation

Use new Set($arr) instead.

Description

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

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

Parameters

Return Values