HH\ImmVector::count

Returns the number of elements in the current ImmVector

public function count(): int;

Returns

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

Examples

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