SplHeap::valid

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

SplHeap::validCheck whether the heap contains more nodes

Descrizione

public SplHeap::valid(): bool

Checks if the heap contains any more nodes.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Returns true if the heap contains any more nodes, false otherwise.