weakref
Methods on every weak reference.
Functions
| clone | clone(): any | Returns this weakref. |
| constructor | constructor(obj): any | Returns a weak reference to obj. This is what runs when types.WeakRef itself is called, types.WeakRef(obj) - the same conversion obj.weakref() performs as a method. |
| ref | weakref.ref(): any | Returns the value this weakref points at, or null once that value is gone. |
| tostring | tostring(): any | Returns a string naming the type and identity of this weakref object itself - not of the value it points at. |
| weakref | weakref(): any | Returns a weak reference to this weakref. |