GoLang WeakMap::valid

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



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

PHP WeakMap::valid

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

WeakMap::valid

(PECL weakref >= 0.2.0)

WeakMap::validReturns whether the iterator is still on a valid map element

Description

public bool WeakMap::valid ( void )

Returns whether the iterator is still on a valid map element.

Parameters

This function has no parameters.

Return Values

Returns TRUE if the iterator is on a valid element that can be accessed, FALSE otherwise.