GoLang Generator::valid

request it (381)
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 ]

Generator::valid

(PHP 5 >= 5.5.0, PHP 7)

Generator::validCheck if the iterator has been closed

Description

public bool Generator::valid ( void )

Parameters

This function has no parameters.

Return Values

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