HH\ImmSet::fromArrays

Returns an ImmSet containing all the values from the specified array(s)

public static function fromArrays(
  ...$argv,
): ImmSet<Tv>;

Parameters

  • ...$argv - The array(s) to convert to an ImmSet.

Returns

Examples

See [Set::fromArrays](</hack/reference/class/Set/fromArrays/#examples>) for usage examples.