HH\Lib\C\count

This API is part of the Hack Standard Library, not HHVM itself.
Facebook Engineer?

This function is available as C\count() in Facebook's www repository.

Returns the number of elements in the given Container

Description

namespace HH\Lib\C;

function count<T>(
  Container<T> $container,
): int;

Parameters