CakeFest 2024: The Official CakePHP Conference

Generator::valid

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

Generator::validYineleyici kapanmış mı diye bakar

Açıklama

public Generator::valid(): bool

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

Yineleyici kapanmışsa false değilse true döner.

add a note

User Contributed Notes 1 note

up
1
Igor Frolov
4 years ago
Notice if you call it with open empty generator, it will close while checking.
To Top