HH\Lib\C\count

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

Returns the number of elements in the given Container

namespace HH\Lib\C;

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

Parameters