跳转到主要内容

offsetget

WeakMap::offsetGet

Returns the value pointed to by a certain object

ENTITY

public

mixed

WeakMap::offsetGet

object

object

Returns the value pointed to by a certain object.

ENTITY

object
Some object contained as key in the map.

ENTITY

Returns the value associated to the object passed as argument.

ENTITY

Throws an Error on failure.