Function

array_is_list

Synopsis

array_is_list(mixed): bool

Area
Runtime\PS\Core\Arrays\Sets\array_is_listareas

Description

array_is_list reports whether $array carries the integer keys 0 to count-1 in that order, the shape of a list. An empty array is a list.

Usage

$value = array_is_list($arguments);
$fn = array_is_list(...);

See also