public function isNumeric(): bool
    {
        if ($this->isEmpty()) {
            return false;
        }

        foreach ($this->keys()->getGenerator() as $key) {
            if (!\is_int($key)) {
                return false;
            }
        }

        return true;
    }
public function isNumeric(): bool
    {
        if ($this->isEmpty()) {
            return false;
        }

        foreach ($this->keys()->getGenerator() as $key) {
            if (!\is_int($key)) {
                return false;
            }
        }

        return true;
    }
public function isNumeric ( ) : bool { if ( $ this -> isEmpty ( ) ) { return false ; } foreach ( $ this -> keys ( ) -> getGenerator ( ) as $ key ) { if ( ! \ is_int ( $ key ) ) { return false ; } } return true ; }
Check whether array is numeric or not.

@return bool
<p>Returns true if numeric, false otherwise.</p>
Check whether array is numeric or not .