GoLang IteratorIterator::valid

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

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

PHP IteratorIterator::valid

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


(PHP 5 >= 5.1.0, PHP 7)

IteratorIterator::validChecks if the iterator is valid


public bool IteratorIterator::valid ( void )

Checks if the iterator is valid.


This function has no parameters.

Return Values

Returns TRUE if the iterator is valid, otherwise FALSE

See Also