HH\ImmSet::count

Provides the number of elements in the current ImmSet

public function count(): int;

Returns

  • int - The number of elements in the current ImmSet.

Examples

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