HH\ImmSet::fromArrays
Returns an ImmSet
containing all the values from the specified
array
(s)
public static function fromArrays(
...$argv,
): ImmSet<Tv>;
Parameters
...$argv
- Thearray
(s) to convert to anImmSet
.
Returns
ImmSet<Tv>
- AnImmSet
with the values from the passedarray
(s).
Examples
See [Set::fromArrays
](</hack/reference/class/Set/fromArrays/#examples>) for usage examples.