HH\ImmSet::__construct

Description

public function __construct(
  ?Traversable<Tv> $it,
): void

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

Parameters

Examples

See Set for usage examples.