function phutil_is_natural_list($list)libphutil Technical Documentation (Core Utilities)
function phutil_is_natural_list($list)
libphutil Technical Documentation (Core Utilities)
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