GoLang Generator::valid

request it (299)
GoLang replacement for PHP's Generator::valid [edit | history]

Do you know a GoLang replacement for PHP's Generator::valid? Write it!

PHP Generator::valid

PHP original manual for Generator::valid [ show | php.net ]


(PHP 5 >= 5.5.0, PHP 7)

Generator::validCheck if the iterator has been closed


public bool Generator::valid ( void )


This function has no parameters.

Return Values

Returns FALSE if the iterator has been closed. Otherwise returns TRUE.