HH\ImmMap::count

Provides the number of elements in the current ImmMap

public function count(): int;

Returns

  • int - The number of elements in current ImmMap.

Examples

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