GoLang IteratorIterator::key

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

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

PHP IteratorIterator::key

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


(PHP 5 >= 5.1.0, PHP 7)

IteratorIterator::keyGet the key of the current element


public scalar IteratorIterator::key ( void )

Get the key of the current element.


This function has no parameters.

Return Values

The key of the current element.

See Also