GoLang WeakMap::offsetExists

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



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

PHP WeakMap::offsetExists

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

WeakMap::offsetExists

(PECL weakref >= 0.2.0)

WeakMap::offsetExistsChecks whether a certain object is in the map

Description

public bool WeakMap::offsetExists ( object $object )

Checks whether the passed object is referenced in the map.

Parameters

object

Object to check for.

Return Values

Returns TRUE if the object is contained in the map, FALSE otherwise.