HH\ImmSet::__construct

Creates an ImmSet from the given Traversable, or an empty ImmSet if null is passed

public function __construct(
  ?Traversable<Tv> $iterable = NULL,
): void;

Parameters

Returns

  • void

Examples

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