(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplPriorityQueue::valid — 檢查佇列是否包含更多節點
檢查佇列是否包含更多節點。
此函式沒有參數。
如果佇列包含更多節點,則傳回 true,否則傳回 false。
true
false