GoLang WeakMap::count

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



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

PHP WeakMap::count

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

WeakMap::count

(PECL weakref >= 0.2.0)

WeakMap::countCounts the number of live entries in the map

Description

public int WeakMap::count ( void )

Counts the number of live entries in the map.

Parameters

This function has no parameters.

Return Values

Returns the number of live entries in the map.