function phutil_is_natural_list($list)Arcanist Technical Documentation ()
function phutil_is_natural_list($list)
Arcanist Technical Documentation ()
Test if a list has the natural numbers (1, 2, 3, and so on) as keys, in order.
Parameters
array | $list |
Return
bool | True if the list is a natural list. |
- Defined
- src/utils/utils.php:1853