array_is_list()
function array_is_list(mixed $array): bool
Checks whether an array is a list (sequential 0-based integer keys).
Parameters:
$array(mixed)
Returns: bool
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Not available yet |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how array_is_list is implemented in the compiler, see the internals page.