Page MenuHomePhabricator

function phutil_count($countable)
Arcanist Technical Documentation ()

Count all elements in an array, or something in an object.

Parameters
array|Countable$countableA countable object.
Return
PhutilNumberReturns the number of elements in the input parameter.