GoLang IteratorIterator::key

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

IteratorIterator::key

(PHP 5 >= 5.1.0, PHP 7)

IteratorIterator::keyGet the key of the current element

Description

public scalar IteratorIterator::key ( void )

Get the key of the current element.

Parameters

This function has no parameters.

Return Values

The key of the current element.

See Also