Thruway\Role\Callee::is_list PHP Метод

is_list() публичный статический Метод

This belongs somewhere else I am thinking
public static is_list ( array $array ) : boolean
$array array
Результат boolean
    public static function is_list($array)
    {
        if (!is_array($array)) {
            return false;
        }
        // Keys of the array
        $keys = array_keys($array);
        // If the array keys of the keys match the keys, then the array must
        // not be associative (e.g. the keys array looked like {0:0, 1:1...}).
        return array_keys($keys) === $keys;
    }